home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / manual-p / man_db-2.000 / man_db-2
Tape Archive  |  1995-07-14  |  1.1 MB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: Tape Archive (archive/tar).

You can browse this item here: man_db-2

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert Tape Archive (archive/tar) magic Supported
100% file POSIX tar archive (GNU) default
99% file POSIX tar archive (GNU), directory man_db-2.3.10/, mode 40755 , uid 625 , gid 6 , size 0 , seconds 6001470062, user wilf, group users default
98% file data default
62% TrID TAR - Tape ARchive (GNU) default
37% TrID TAR - Tape ARchive (directory) default
100% siegfried x-fmt/265 Tape Archive Format default
100% lsar Tar default
100% gt2 TAR Archiv gefunden (Auflistung ist deaktiviert) default
100% disktype GNU tar archive default
100% detectItEasy Archive: tar default
100% binwalkID POSIX tar archive (GNU), owner user name: ".3.10/" default
100% xdgMime application/x-tar default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 6d 61 6e 5f 64 62 2d 32 | 2e 33 2e 31 30 2f 00 00 |man_db-2|.3.10/..|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 36 |.... 407|55 . 6|
|00000070| 32 35 20 00 20 20 20 20 | 20 36 20 00 20 20 20 20 |25 . | 6 . |
|00000080| 20 20 20 20 20 20 30 20 | 20 36 30 30 31 34 37 30 | 0 | 6001470|
|00000090| 30 36 32 20 20 31 31 32 | 31 31 00 20 35 00 00 00 |062 112|11. 5...|
|000000a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000100| 00 75 73 74 61 72 20 20 | 00 77 69 6c 66 00 00 00 |.ustar |.wilf...|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 6d 61 6e 5f 64 62 2d 32 | 2e 33 2e 31 30 2f 67 65 |man_db-2|.3.10/ge|
|00000210| 6e 63 61 74 2f 00 00 00 | 00 00 00 00 00 00 00 00 |ncat/...|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 20 34 30 37 | 35 35 20 00 20 20 20 36 |.... 407|55 . 6|
|00000270| 32 35 20 00 20 20 20 20 | 20 36 20 00 20 20 20 20 |25 . | 6 . |
|00000280| 20 20 20 20 20 20 30 20 | 20 36 30 30 31 34 37 30 | 0 | 6001470|
|00000290| 30 36 33 20 20 31 32 34 | 35 33 00 20 35 00 00 00 |063 124|53. 5...|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 75 73 74 61 72 20 20 | 00 77 69 6c 66 00 00 00 |.ustar |.wilf...|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000400| 6d 61 6e 5f 64 62 2d 32 | 2e 33 2e 31 30 2f 67 65 |man_db-2|.3.10/ge|
|00000410| 6e 63 61 74 2f 52 45 41 | 44 4d 45 00 00 00 00 00 |ncat/REA|DME.....|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00000470| 32 35 20 00 20 20 20 20 | 20 36 20 00 20 20 20 20 |25 . | 6 . |
|00000480| 20 20 20 33 36 34 33 20 | 20 35 36 35 36 36 36 37 | 3643 | 5656667|
|00000490| 32 31 36 20 20 31 33 34 | 36 35 00 20 30 00 00 00 |216 134|65. 0...|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 75 73 74 61 72 20 20 | 00 77 69 6c 66 00 00 00 |.ustar |.wilf...|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 50 6c 65 61 73 65 20 72 | 65 61 64 20 74 68 65 20 |Please r|ead the |
|00000610| 63 6f 70 79 72 69 67 68 | 74 20 6e 6f 74 69 63 65 |copyrigh|t notice|
|00000620| 20 69 6e 20 74 68 65 20 | 66 69 6c 65 20 22 43 6f | in the |file "Co|
|00000630| 70 79 72 69 67 68 74 22 | 2e 0a 0a 2a 2a 20 50 6c |pyright"|...** Pl|
|00000640| 65 61 73 65 20 69 67 6e | 6f 72 65 20 61 6e 79 20 |ease ign|ore any |
|00000650| 72 65 66 65 72 65 6e 63 | 65 73 20 74 6f 20 61 6e |referenc|es to an|
|00000660| 20 78 74 72 61 63 74 20 | 75 74 69 6c 69 74 79 2c | xtract |utility,|
|00000670| 20 69 74 20 69 73 20 6e | 6f 74 20 72 65 71 75 69 | it is n|ot requi|
|00000680| 72 65 64 20 2a 2a 0a 2a | 2a 20 66 6f 72 20 74 68 |red **.*|* for th|
|00000690| 69 73 20 64 69 73 74 72 | 69 62 75 74 69 6f 6e 20 |is distr|ibution |
|000006a0| 2a 2a 0a 0a 54 68 65 73 | 65 20 61 72 65 20 74 68 |**..Thes|e are th|
|000006b0| 65 20 73 6f 75 72 63 65 | 73 20 74 6f 20 74 68 65 |e source|s to the|
|000006c0| 20 65 6e 68 61 6e 63 65 | 64 20 67 65 6e 63 61 74 | enhance|d gencat|
|000006d0| 20 73 6f 66 74 77 61 72 | 65 2e 20 20 54 68 65 20 | softwar|e. The |
|000006e0| 65 6e 68 61 6e 63 65 64 | 0a 67 65 6e 63 61 74 20 |enhanced|.gencat |
|000006f0| 63 61 6e 2c 20 69 6e 20 | 61 64 64 69 74 69 6f 6e |can, in |addition|
|00000700| 20 74 6f 20 70 65 72 66 | 6f 72 6d 69 6e 67 20 74 | to perf|orming t|
|00000710| 68 65 20 73 61 6d 65 20 | 66 75 6e 63 74 69 6f 6e |he same |function|
|00000720| 73 20 61 73 20 74 68 65 | 0a 73 74 61 6e 64 61 72 |s as the|.standar|
|00000730| 64 20 67 65 6e 63 61 74 | 2c 20 61 6c 73 6f 20 63 |d gencat|, also c|
|00000740| 6f 6d 70 69 6c 65 20 68 | 65 61 64 65 72 20 66 69 |ompile h|eader fi|
|00000750| 6c 65 73 20 61 6e 64 20 | 67 65 6e 65 72 61 74 65 |les and |generate|
|00000760| 20 61 20 6c 69 73 74 20 | 6f 66 20 64 65 66 69 6e | a list |of defin|
|00000770| 65 73 0a 66 72 6f 6d 20 | 61 20 6d 65 73 73 61 67 |es.from |a messag|
|00000780| 65 20 66 69 6c 65 2e 20 | 20 54 68 69 73 20 69 73 |e file. | This is|
|00000790| 20 75 73 65 66 75 6c 20 | 62 65 63 61 75 73 65 20 | useful |because |
|000007a0| 69 74 20 61 6c 6c 6f 77 | 73 20 70 72 6f 67 72 61 |it allow|s progra|
|000007b0| 6d 6d 65 72 73 0a 74 6f | 20 75 73 65 20 64 65 73 |mmers.to| use des|
|000007c0| 63 72 69 70 74 69 76 65 | 20 6e 61 6d 65 73 20 77 |criptive| names w|
|000007d0| 68 65 6e 20 72 65 66 65 | 72 72 69 6e 67 20 74 6f |hen refe|rring to|
|000007e0| 20 6d 65 73 73 61 67 65 | 73 20 69 6e 73 74 65 61 | message|s instea|
|000007f0| 64 20 6f 66 20 68 61 76 | 69 6e 67 0a 74 6f 20 75 |d of hav|ing.to u|
|00000800| 73 65 20 69 6e 74 65 67 | 65 72 73 20 61 6c 6c 20 |se integ|ers all |
|00000810| 74 68 65 20 74 69 6d 65 | 2e 0a 0a 49 20 68 61 76 |the time|...I hav|
|00000820| 65 20 61 6c 73 6f 20 69 | 6e 63 6c 75 64 65 64 20 |e also i|ncluded |
|00000830| 74 68 65 20 78 74 72 61 | 63 74 20 75 74 69 6c 69 |the xtra|ct utili|
|00000840| 74 79 20 69 6e 20 74 68 | 69 73 20 70 61 63 6b 61 |ty in th|is packa|
|00000850| 67 65 2e 20 20 54 68 69 | 73 20 63 61 6e 20 62 65 |ge. Thi|s can be|
|00000860| 20 75 73 65 64 0a 74 6f | 20 65 78 74 72 61 63 74 | used.to| extract|
|00000870| 20 74 65 78 74 20 6d 65 | 73 73 61 67 65 73 20 66 | text me|ssages f|
|00000880| 72 6f 6d 20 73 6f 75 72 | 63 65 20 63 6f 64 65 2c |rom sour|ce code,|
|00000890| 20 70 72 65 66 6f 72 6d | 61 74 20 74 68 65 73 65 | preform|at these|
|000008a0| 20 6d 65 73 73 61 67 65 | 73 0a 61 6e 64 20 74 68 | message|s.and th|
|000008b0| 65 6e 20 70 6c 61 63 65 | 20 74 68 65 6d 20 69 6e |en place| them in|
|000008c0| 74 6f 20 61 20 6d 65 73 | 73 61 67 65 20 66 69 6c |to a mes|sage fil|
|000008d0| 65 2e 20 20 49 74 73 20 | 6f 70 65 72 61 74 69 6f |e. Its |operatio|
|000008e0| 6e 20 69 73 20 61 73 20 | 66 6f 6c 6c 6f 77 73 3a |n is as |follows:|
|000008f0| 0a 0a 20 20 20 20 20 20 | 20 20 78 74 72 61 63 74 |.. | xtract|
|00000900| 20 3c 20 73 6f 75 72 63 | 65 5f 63 6f 64 65 2e 63 | < sourc|e_code.c|
|00000910| 20 3e 20 6d 65 73 73 61 | 67 65 5f 66 69 6c 65 2e | > messa|ge_file.|
|00000920| 6d 0a 0a 54 6f 20 63 6f | 6d 70 69 6c 65 20 62 6f |m..To co|mpile bo|
|00000930| 74 68 20 70 61 63 6b 61 | 67 65 73 2c 20 73 69 6d |th packa|ges, sim|
|00000940| 70 6c 79 20 74 79 70 65 | 3a 0a 09 6d 61 6b 65 20 |ply type|:..make |
|00000950| 61 6c 6c 0a 49 66 20 62 | 6f 74 68 20 70 61 63 6b |all.If b|oth pack|
|00000960| 61 67 65 73 20 68 61 76 | 65 20 73 75 63 63 65 73 |ages hav|e succes|
|00000970| 73 66 75 6c 6c 79 20 63 | 6f 6d 70 69 6c 65 64 2c |sfully c|ompiled,|
|00000980| 20 74 68 65 6e 20 74 79 | 70 69 6e 67 3a 0a 09 6d | then ty|ping:..m|
|00000990| 61 6b 65 20 69 6e 73 74 | 61 6c 6c 0a 77 69 6c 6c |ake inst|all.will|
|000009a0| 20 69 6e 73 74 61 6c 6c | 20 74 68 65 20 62 69 6e | install| the bin|
|000009b0| 61 72 69 65 73 2c 20 61 | 6e 64 20 74 79 70 69 6e |aries, a|nd typin|
|000009c0| 67 3a 0a 09 6d 61 6b 65 | 20 69 6e 73 74 61 6c 6c |g:..make| install|
|000009d0| 2e 6d 61 6e 0a 77 69 6c | 6c 20 69 6e 73 74 61 6c |.man.wil|l instal|
|000009e0| 6c 20 74 68 65 20 6d 61 | 6e 20 70 61 67 65 73 2e |l the ma|n pages.|
|000009f0| 0a 0a 4e 6f 74 65 3a 20 | 62 6f 74 68 20 67 65 6e |..Note: |both gen|
|00000a00| 63 61 74 20 61 6e 64 20 | 78 74 72 61 63 74 20 68 |cat and |xtract h|
|00000a10| 61 76 65 20 62 65 65 6e | 20 74 65 73 74 69 6e 67 |ave been| testing|
|00000a20| 20 75 6e 64 65 72 20 4c | 69 6e 75 78 20 61 6e 64 | under L|inux and|
|00000a30| 20 53 75 6e 4f 53 20 34 | 2e 31 2e 33 2e 0a 54 68 | SunOS 4|.1.3..Th|
|00000a40| 65 79 20 73 68 6f 75 6c | 64 20 62 65 20 66 61 69 |ey shoul|d be fai|
|00000a50| 72 6c 79 20 70 6f 72 74 | 61 62 6c 65 2e 20 20 49 |rly port|able. I|
|00000a60| 66 20 79 6f 75 20 68 61 | 76 65 20 64 69 66 66 69 |f you ha|ve diffi|
|00000a70| 63 75 6c 74 69 65 73 20 | 63 6f 6d 70 69 6c 69 6e |culties |compilin|
|00000a80| 67 20 74 68 65 0a 70 61 | 63 6b 61 67 65 20 6f 6e |g the.pa|ckage on|
|00000a90| 20 79 6f 75 72 20 73 79 | 73 74 65 6d 20 6f 72 20 | your sy|stem or |
|00000aa0| 68 61 76 65 20 66 6f 75 | 6e 64 20 61 6e 79 20 62 |have fou|nd any b|
|00000ab0| 75 67 73 2c 20 64 6f 20 | 6e 6f 74 20 68 65 73 69 |ugs, do |not hesi|
|00000ac0| 74 61 74 65 20 74 6f 20 | 63 6f 6e 74 61 63 74 0a |tate to |contact.|
|00000ad0| 6d 65 2e 0a 0a 4e 6f 74 | 65 32 3a 20 53 6f 6d 65 |me...Not|e2: Some|
|00000ae0| 20 73 79 73 74 65 6d 73 | 20 61 72 65 20 75 6e 61 | systems| are una|
|00000af0| 62 6c 65 20 74 6f 20 67 | 65 6e 65 72 61 74 65 20 |ble to g|enerate |
|00000b00| 61 20 70 72 6f 70 65 72 | 20 43 20 73 6f 75 72 63 |a proper| C sourc|
|00000b10| 65 20 66 69 6c 65 20 66 | 72 6f 6d 20 74 68 65 0a |e file f|rom the.|
|00000b20| 78 74 72 61 63 74 20 6c | 65 78 20 73 6f 75 72 63 |xtract l|ex sourc|
|00000b30| 65 20 63 6f 64 65 2e 20 | 20 53 75 6e 4f 53 20 34 |e code. | SunOS 4|
|00000b40| 2e 31 2e 33 20 69 73 20 | 6f 6e 65 20 6f 66 20 74 |.1.3 is |one of t|
|00000b50| 68 65 73 65 2e 20 20 49 | 20 68 61 76 65 20 69 6e |hese. I| have in|
|00000b60| 63 6c 75 64 65 64 0a 61 | 20 63 6f 70 79 20 6f 66 |cluded.a| copy of|
|00000b70| 20 74 68 65 20 43 20 73 | 6f 75 72 63 65 20 63 6f | the C s|ource co|
|00000b80| 64 65 20 74 68 61 74 20 | 77 61 73 20 67 65 6e 65 |de that |was gene|
|00000b90| 72 61 74 65 64 20 75 6e | 64 65 72 20 4c 69 6e 75 |rated un|der Linu|
|00000ba0| 78 20 61 6e 64 20 77 68 | 69 63 68 20 63 61 6e 20 |x and wh|ich can |
|00000bb0| 62 65 0a 63 6f 6d 70 69 | 6c 65 64 20 75 6e 64 65 |be.compi|led unde|
|00000bc0| 72 20 53 75 6e 4f 53 20 | 74 6f 20 67 65 6e 65 72 |r SunOS |to gener|
|00000bd0| 61 74 65 20 61 20 70 72 | 6f 70 65 72 20 78 74 72 |ate a pr|oper xtr|
|00000be0| 61 63 74 20 62 69 6e 61 | 72 79 2e 20 20 48 6f 77 |act bina|ry. How|
|00000bf0| 65 76 65 72 2c 20 79 6f | 75 20 77 69 6c 6c 0a 6e |ever, yo|u will.n|
|00000c00| 65 65 64 20 74 6f 20 6d | 6f 64 69 66 79 20 74 68 |eed to m|odify th|
|00000c10| 65 20 4d 61 6b 65 66 69 | 6c 65 20 74 6f 20 70 72 |e Makefi|le to pr|
|00000c20| 65 76 65 6e 74 20 69 74 | 20 66 72 6f 6d 20 74 72 |event it| from tr|
|00000c30| 79 69 6e 67 20 74 6f 20 | 67 65 6e 65 72 61 74 65 |ying to |generate|
|00000c40| 20 61 20 6e 65 77 0a 43 | 20 73 6f 75 72 63 65 20 | a new.C| source |
|00000c50| 63 6f 64 65 20 66 69 6c | 65 20 66 72 6f 6d 20 74 |code fil|e from t|
|00000c60| 68 65 20 78 74 72 61 63 | 74 2e 6c 20 6c 65 78 20 |he xtrac|t.l lex |
|00000c70| 73 6f 75 72 63 65 73 20 | 61 6e 64 20 74 72 79 69 |sources |and tryi|
|00000c80| 6e 67 20 74 6f 20 63 6f | 6d 70 69 6c 65 20 74 68 |ng to co|mpile th|
|00000c90| 69 73 0a 6e 65 77 6c 79 | 20 67 65 6e 65 72 61 74 |is.newly| generat|
|00000ca0| 65 64 20 43 20 73 6f 75 | 72 63 65 20 63 6f 64 65 |ed C sou|rce code|
|00000cb0| 2e 20 20 49 20 68 61 76 | 65 20 73 74 6f 72 65 64 |. I hav|e stored|
|00000cc0| 20 74 68 65 20 6f 72 69 | 67 69 6e 61 6c 20 4c 69 | the ori|ginal Li|
|00000cd0| 6e 75 78 20 67 65 6e 65 | 72 61 74 65 64 20 43 0a |nux gene|rated C.|
|00000ce0| 73 6f 75 72 63 65 20 63 | 6f 64 65 20 66 69 6c 65 |source c|ode file|
|00000cf0| 20 75 6e 64 65 72 20 74 | 68 65 20 6e 61 6d 65 3a | under t|he name:|
|00000d00| 0a 09 78 74 72 61 63 74 | 2e 63 2e 62 61 6b 0a 6a |..xtract|.c.bak.j|
|00000d10| 75 73 74 20 69 6e 20 63 | 61 73 65 20 79 6f 75 72 |ust in c|ase your|
|00000d20| 20 73 79 73 74 65 6d 27 | 73 20 6c 65 78 20 63 61 | system'|s lex ca|
|00000d30| 6e 6e 6f 74 20 67 65 6e | 65 72 61 74 65 20 74 68 |nnot gen|erate th|
|00000d40| 65 20 63 6f 72 72 65 63 | 74 20 43 20 73 6f 75 72 |e correc|t C sour|
|00000d50| 63 65 20 63 6f 64 65 0a | 66 72 6f 6d 20 74 68 65 |ce code.|from the|
|00000d60| 20 6c 65 78 20 73 6f 75 | 72 63 65 2e 0a 0a 0a 52 | lex sou|rce....R|
|00000d70| 65 67 61 72 64 73 2c 0a | 50 61 74 72 69 63 6b 20 |egards,.|Patrick |
|00000d80| 44 27 43 72 75 7a 65 0a | 70 64 63 72 75 7a 65 40 |D'Cruze.|pdcruze@|
|00000d90| 6f 72 61 63 2e 69 69 6e | 65 74 2e 63 6f 6d 2e 61 |orac.iin|et.com.a|
|00000da0| 75 0a 0a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |u.......|........|
|00000db0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000dd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000de0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000df0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e00| 6d 61 6e 5f 64 62 2d 32 | 2e 33 2e 31 30 2f 67 65 |man_db-2|.3.10/ge|
|00000e10| 6e 63 61 74 2f 4d 61 6b | 65 66 69 6c 65 2e 69 6e |ncat/Mak|efile.in|
|00000e20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000e60| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00000e70| 32 35 20 00 20 20 20 20 | 20 36 20 00 20 20 20 20 |25 . | 6 . |
|00000e80| 20 20 20 31 34 33 32 20 | 20 35 37 33 37 30 32 37 | 1432 | 5737027|
|00000e90| 35 32 33 20 20 31 34 36 | 33 33 00 20 30 00 00 00 |523 146|33. 0...|
|00000ea0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000eb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ec0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ed0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ee0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ef0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f00| 00 75 73 74 61 72 20 20 | 00 77 69 6c 66 00 00 00 |.ustar |.wilf...|
|00000f10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00000f30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fe0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000ff0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001000| 73 72 63 64 69 72 20 3d | 20 40 73 72 63 64 69 72 |srcdir =| @srcdir|
|00001010| 40 0a 56 50 41 54 48 20 | 3d 20 40 73 72 63 64 69 |@.VPATH |= @srcdi|
|00001020| 72 40 0a 74 6f 70 5f 73 | 72 63 64 69 72 20 3d 20 |r@.top_s|rcdir = |
|00001030| 40 74 6f 70 5f 73 72 63 | 64 69 72 40 0a 49 4e 53 |@top_src|dir@.INS|
|00001040| 54 41 4c 4c 20 3d 20 40 | 49 4e 53 54 41 4c 4c 40 |TALL = @|INSTALL@|
|00001050| 0a 0a 69 6e 63 6c 75 64 | 65 20 2e 2e 2f 69 6e 63 |..includ|e ../inc|
|00001060| 6c 75 64 65 2f 44 65 66 | 69 6e 65 73 0a 0a 2e 50 |lude/Def|ines...P|
|00001070| 48 4f 4e 59 3a 20 24 28 | 44 45 46 41 55 4c 54 5f |HONY: $(|DEFAULT_|
|00001080| 54 41 52 47 45 54 53 29 | 20 69 6e 73 74 61 6c 6c |TARGETS)| install|
|00001090| 2e 6d 61 6e 0a 0a 6f 76 | 65 72 72 69 64 65 20 43 |.man..ov|erride C|
|000010a0| 50 50 46 4c 41 47 53 20 | 3a 3d 20 24 28 44 45 46 |PPFLAGS |:= $(DEF|
|000010b0| 53 29 20 2d 49 2e 2e 2f | 69 6e 63 6c 75 64 65 20 |S) -I../|include |
|000010c0| 2d 49 24 28 74 6f 70 5f | 73 72 63 64 69 72 29 20 |-I$(top_|srcdir) |
|000010d0| 2d 49 24 28 73 72 63 64 | 69 72 29 20 2d 49 2d 20 |-I$(srcd|ir) -I- |
|000010e0| 5c 0a 09 09 20 20 20 20 | 20 24 28 43 50 50 46 4c |\... | $(CPPFL|
|000010f0| 41 47 53 29 0a 0a 4c 4f | 43 44 49 52 20 3a 3d 20 |AGS)..LO|CDIR := |
|00001100| 24 28 62 69 6e 64 69 72 | 29 0a 4d 41 4e 44 49 52 |$(bindir|).MANDIR|
|00001110| 20 3a 3d 20 24 28 6d 61 | 6e 31 64 69 72 29 0a 0a | := $(ma|n1dir)..|
|00001120| 61 6c 6c 3a 20 67 65 6e | 63 61 74 20 0a 0a 67 65 |all: gen|cat ..ge|
|00001130| 6e 63 61 74 3a 20 67 65 | 6e 63 61 74 2e 6f 20 67 |ncat: ge|ncat.o g|
|00001140| 65 6e 6c 69 62 2e 6f 0a | 09 24 28 43 43 29 20 24 |enlib.o.|.$(CC) $|
|00001150| 28 4c 44 46 4c 41 47 53 | 29 20 2d 6f 20 24 40 20 |(LDFLAGS|) -o $@ |
|00001160| 67 65 6e 63 61 74 2e 6f | 20 67 65 6e 6c 69 62 2e |gencat.o| genlib.|
|00001170| 6f 0a 0a 69 6e 73 74 61 | 6c 6c 3a 20 61 6c 6c 20 |o..insta|ll: all |
|00001180| 69 6e 73 74 61 6c 6c 2e | 6d 61 6e 0a 09 24 28 4d |install.|man..$(M|
|00001190| 4b 49 4e 53 54 41 4c 4c | 44 49 52 53 29 20 24 28 |KINSTALL|DIRS) $(|
|000011a0| 4c 4f 43 44 49 52 29 0a | 09 24 28 49 4e 53 54 41 |LOCDIR).|.$(INSTA|
|000011b0| 4c 4c 5f 50 52 4f 47 52 | 41 4d 29 20 67 65 6e 63 |LL_PROGR|AM) genc|
|000011c0| 61 74 20 24 28 4c 4f 43 | 44 49 52 29 2f 67 65 6e |at $(LOC|DIR)/gen|
|000011d0| 63 61 74 0a 0a 69 6e 73 | 74 61 6c 6c 2e 6d 61 6e |cat..ins|tall.man|
|000011e0| 3a 0a 09 24 28 4d 4b 49 | 4e 53 54 41 4c 4c 44 49 |:..$(MKI|NSTALLDI|
|000011f0| 52 53 29 20 24 28 4d 41 | 4e 44 49 52 29 0a 09 24 |RS) $(MA|NDIR)..$|
|00001200| 28 49 4e 53 54 41 4c 4c | 5f 44 41 54 41 29 20 67 |(INSTALL|_DATA) g|
|00001210| 65 6e 63 61 74 2e 31 20 | 24 28 4d 41 4e 44 49 52 |encat.1 |$(MANDIR|
|00001220| 29 2f 67 65 6e 63 61 74 | 24 28 6d 61 6e 31 65 78 |)/gencat|$(man1ex|
|00001230| 74 29 0a 0a 75 6e 69 6e | 73 74 61 6c 6c 3a 0a 09 |t)..unin|stall:..|
|00001240| 2f 62 69 6e 2f 72 6d 20 | 2d 66 20 24 28 4c 4f 43 |/bin/rm |-f $(LOC|
|00001250| 44 49 52 29 2f 67 65 6e | 63 61 74 0a 09 2f 62 69 |DIR)/gen|cat../bi|
|00001260| 6e 2f 72 6d 20 2d 66 20 | 24 28 4d 41 4e 44 49 52 |n/rm -f |$(MANDIR|
|00001270| 29 2f 67 65 6e 63 61 74 | 24 28 6d 61 6e 31 65 78 |)/gencat|$(man1ex|
|00001280| 74 29 0a 0a 6d 6f 73 74 | 6c 79 63 6c 65 61 6e 20 |t)..most|lyclean |
|00001290| 63 6c 65 61 6e 3a 0a 09 | 72 6d 20 2d 66 20 2a 2e |clean:..|rm -f *.|
|000012a0| 6f 20 67 65 6e 63 61 74 | 20 63 6f 72 65 20 2a 7e |o gencat| core *~|
|000012b0| 20 0a 0a 64 69 73 74 63 | 6c 65 61 6e 3a 20 63 6c | ..distc|lean: cl|
|000012c0| 65 61 6e 0a 09 72 6d 20 | 2d 66 20 4d 61 6b 65 66 |ean..rm |-f Makef|
|000012d0| 69 6c 65 0a 0a 72 65 61 | 6c 63 6c 65 61 6e 3a 20 |ile..rea|lclean: |
|000012e0| 64 69 73 74 63 6c 65 61 | 6e 0a 09 72 6d 20 2d 66 |distclea|n..rm -f|
|000012f0| 20 74 61 67 73 0a 09 0a | 54 41 47 53 3a 0a 09 24 | tags...|TAGS:..$|
|00001300| 28 4d 4b 54 41 47 53 29 | 20 24 28 73 72 63 64 69 |(MKTAGS)| $(srcdi|
|00001310| 72 29 2f 2a 2e 5b 63 68 | 5d 0a 00 00 00 00 00 00 |r)/*.[ch|].......|
|00001320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001400| 6d 61 6e 5f 64 62 2d 32 | 2e 33 2e 31 30 2f 67 65 |man_db-2|.3.10/ge|
|00001410| 6e 63 61 74 2f 67 65 6e | 63 61 74 2e 31 00 00 00 |ncat/gen|cat.1...|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001460| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00001470| 32 35 20 00 20 20 20 20 | 20 36 20 00 20 20 20 20 |25 . | 6 . |
|00001480| 20 20 31 31 37 37 32 20 | 20 35 36 32 33 34 37 34 | 11772 | 5623474|
|00001490| 30 35 30 20 20 31 34 31 | 33 34 00 20 30 00 00 00 |050 141|34. 0...|
|000014a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000014f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001500| 00 75 73 74 61 72 20 20 | 00 77 69 6c 66 00 00 00 |.ustar |.wilf...|
|00001510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001520| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00001530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000015f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001600| 2e 54 48 20 47 45 4e 43 | 41 54 20 31 20 22 31 35 |.TH GENC|AT 1 "15|
|00001610| 20 41 75 67 75 73 74 20 | 31 39 39 34 22 0a 2e 53 | August |1994"..S|
|00001620| 48 20 4e 41 4d 45 0a 67 | 65 6e 63 61 74 20 5c 2d |H NAME.g|encat \-|
|00001630| 20 67 65 6e 65 72 61 74 | 65 20 61 20 6d 65 73 73 | generat|e a mess|
|00001640| 61 67 65 20 63 61 74 61 | 6c 6f 67 20 66 72 6f 6d |age cata|log from|
|00001650| 20 61 20 73 65 74 20 6f | 66 20 6d 65 73 73 61 67 | a set o|f messag|
|00001660| 65 20 66 69 6c 65 73 0a | 2e 53 48 20 53 59 4e 4f |e files.|.SH SYNO|
|00001670| 50 53 49 53 0a 2e 42 20 | 67 65 6e 63 61 74 20 5b |PSIS..B |gencat [|
|00001680| 2d 6e 65 77 5d 20 5b 2d | 6c 61 6e 67 20 43 7c 43 |-new] [-|lang C|C|
|00001690| 2b 2b 7c 41 4e 53 49 43 | 5d 20 63 61 74 66 69 6c |++|ANSIC|] catfil|
|000016a0| 65 20 6d 73 67 66 69 6c | 65 20 5b 2d 68 20 3c 68 |e msgfil|e [-h <h|
|000016b0| 65 61 64 65 72 2d 66 69 | 6c 65 3e 5d 0a 2e 53 48 |eader-fi|le>]..SH|
|000016c0| 20 44 45 53 43 52 49 50 | 54 49 4f 4e 0a 2e 42 20 | DESCRIP|TION..B |
|000016d0| 67 65 6e 63 61 74 0a 69 | 73 20 74 68 65 20 73 6f |gencat.i|s the so|
|000016e0| 66 74 77 61 72 65 20 75 | 73 65 64 20 74 6f 20 63 |ftware u|sed to c|
|000016f0| 6f 6d 70 69 6c 65 20 6d | 65 73 73 61 67 65 20 66 |ompile m|essage f|
|00001700| 69 6c 65 73 20 69 6e 74 | 6f 20 6d 65 73 73 61 67 |iles int|o messag|
|00001710| 65 0a 63 61 74 61 6c 6f | 67 73 2e 20 20 49 74 20 |e.catalo|gs. It |
|00001720| 63 61 6e 20 61 6c 73 6f | 20 62 65 20 75 73 65 64 |can also| be used|
|00001730| 20 74 6f 20 67 65 6e 65 | 72 61 74 65 20 61 20 68 | to gene|rate a h|
|00001740| 65 61 64 65 72 20 66 69 | 6c 65 20 66 72 6f 6d 20 |eader fi|le from |
|00001750| 74 68 65 20 6d 65 73 73 | 61 67 65 20 66 69 6c 65 |the mess|age file|
|00001760| 73 0a 77 68 69 63 68 20 | 63 61 6e 20 74 68 65 6e |s.which |can then|
|00001770| 20 62 65 20 69 6e 63 6c | 75 64 65 64 20 69 6e 20 | be incl|uded in |
|00001780| 74 68 65 20 6f 72 69 67 | 69 6e 61 6c 20 73 6f 75 |the orig|inal sou|
|00001790| 72 63 65 20 63 6f 64 65 | 2e 20 20 54 68 65 20 62 |rce code|. The b|
|000017a0| 65 6e 65 66 69 74 20 6f | 66 20 69 6e 63 6c 75 64 |enefit o|f includ|
|000017b0| 69 6e 67 20 74 68 69 73 | 0a 2e 42 20 67 65 6e 63 |ing this|..B genc|
|000017c0| 61 74 0a 67 65 6e 65 72 | 61 74 65 64 20 68 65 61 |at.gener|ated hea|
|000017d0| 64 65 72 20 66 69 6c 65 | 20 69 73 20 74 68 61 74 |der file| is that|
|000017e0| 20 69 74 20 61 6c 6c 6f | 77 73 20 74 68 65 20 70 | it allo|ws the p|
|000017f0| 72 6f 67 72 61 6d 6d 65 | 72 20 74 6f 20 75 73 65 |rogramme|r to use|
|00001800| 0a 64 65 73 63 72 69 70 | 74 69 76 65 20 6e 61 6d |.descrip|tive nam|
|00001810| 65 73 20 74 6f 20 72 65 | 66 65 72 20 74 6f 20 6d |es to re|fer to m|
|00001820| 65 73 73 61 67 65 73 20 | 61 6e 64 20 6d 65 73 73 |essages |and mess|
|00001830| 61 67 65 20 73 65 74 73 | 20 69 6e 73 74 65 61 64 |age sets| instead|
|00001840| 20 6f 66 20 68 61 72 64 | 20 74 6f 20 72 65 6d 65 | of hard| to reme|
|00001850| 6d 62 65 72 0a 69 6e 74 | 65 67 65 72 20 6e 75 6d |mber.int|eger num|
|00001860| 62 65 72 73 2e 20 20 48 | 6f 77 65 76 65 72 20 69 |bers. H|owever i|
|00001870| 74 73 20 63 68 69 65 66 | 20 70 75 72 70 6f 73 65 |ts chief| purpose|
|00001880| 20 69 73 20 69 6e 20 63 | 6f 6d 70 69 6c 69 6e 67 | is in c|ompiling|
|00001890| 20 6d 65 73 73 61 67 65 | 20 66 69 6c 65 73 20 69 | message| files i|
|000018a0| 6e 74 6f 0a 6d 65 73 73 | 61 67 65 20 63 61 74 61 |nto.mess|age cata|
|000018b0| 6c 6f 67 73 2e 20 20 54 | 68 65 20 63 6f 6d 6d 61 |logs. T|he comma|
|000018c0| 6e 64 20 6c 69 6e 65 20 | 73 77 69 74 63 68 65 73 |nd line |switches|
|000018d0| 20 69 74 20 75 6e 64 65 | 72 73 74 61 6e 64 73 20 | it unde|rstands |
|000018e0| 61 72 65 20 64 65 74 61 | 69 6c 65 64 20 62 65 6c |are deta|iled bel|
|000018f0| 6f 77 3a 0a 0a 2e 54 50 | 0a 2e 49 20 2d 6e 65 77 |ow:...TP|..I -new|
|00001900| 0a 45 72 61 73 65 20 74 | 68 65 20 6d 65 73 73 61 |.Erase t|he messa|
|00001910| 67 65 67 20 63 61 74 61 | 6c 6f 67 20 61 6e 64 20 |geg cata|log and |
|00001920| 73 74 61 72 74 20 61 20 | 6e 65 77 20 6f 6e 65 2e |start a |new one.|
|00001930| 0a 54 68 65 20 64 65 66 | 61 75 6c 74 20 62 65 68 |.The def|ault beh|
|00001940| 61 76 69 6f 72 20 69 73 | 20 74 6f 20 75 70 64 61 |avior is| to upda|
|00001950| 74 65 20 74 68 65 20 63 | 61 74 61 6c 6f 67 20 77 |te the c|atalog w|
|00001960| 69 74 68 20 74 68 65 0a | 73 70 65 63 69 66 69 65 |ith the.|specifie|
|00001970| 64 20 6d 65 73 73 61 67 | 65 20 66 69 6c 65 28 73 |d messag|e file(s|
|00001980| 29 2e 20 20 54 68 69 73 | 20 77 69 6c 6c 20 69 6e |). This| will in|
|00001990| 73 74 65 61 64 20 63 61 | 75 73 65 20 74 68 65 20 |stead ca|use the |
|000019a0| 6f 6c 64 0a 6f 6e 65 20 | 74 6f 20 62 65 20 64 65 |old.one |to be de|
|000019b0| 6c 65 74 65 64 20 61 6e | 64 20 61 20 77 68 6f 6c |leted an|d a whol|
|000019c0| 65 20 6e 65 77 20 6f 6e | 65 20 73 74 61 72 74 65 |e new on|e starte|
|000019d0| 64 2e 0a 2e 54 50 0a 2e | 49 20 2d 6c 61 6e 67 20 |d...TP..|I -lang |
|000019e0| 3c 6c 3e 0a 54 68 69 73 | 20 67 6f 76 65 72 6e 73 |<l>.This| governs|
|000019f0| 20 74 68 65 20 66 6f 72 | 6d 20 6f 66 20 74 68 65 | the for|m of the|
|00001a00| 20 69 6e 63 6c 75 64 65 | 20 66 69 6c 65 2e 0a 43 | include| file..C|
|00001a10| 75 72 72 65 6e 74 6c 79 | 20 73 75 70 70 6f 72 74 |urrently| support|
|00001a20| 65 64 20 69 73 20 43 2c | 20 43 2b 2b 20 61 6e 64 |ed is C,| C++ and|
|00001a30| 20 41 4e 53 49 43 2e 20 | 20 54 68 65 20 6c 61 74 | ANSIC. | The lat|
|00001a40| 74 65 72 20 74 77 6f 20 | 61 72 65 0a 69 64 65 6e |ter two |are.iden|
|00001a50| 74 69 63 61 6c 20 69 6e | 20 6f 75 74 70 75 74 2e |tical in| output.|
|00001a60| 20 20 54 68 69 73 20 61 | 72 67 75 6d 65 6e 74 20 | This a|rgument |
|00001a70| 69 73 20 70 6f 73 69 74 | 69 6f 6e 20 64 65 70 65 |is posit|ion depe|
|00001a80| 6e 64 65 6e 74 2c 0a 79 | 6f 75 20 63 61 6e 20 73 |ndent,.y|ou can s|
|00001a90| 77 69 74 63 68 20 74 68 | 65 20 6c 61 6e 67 75 61 |witch th|e langua|
|00001aa0| 67 65 20 62 61 63 6b 20 | 61 6e 64 20 66 6f 72 74 |ge back |and fort|
|00001ab0| 68 20 69 6e 20 62 65 74 | 77 65 65 6e 0a 69 6e 63 |h in bet|ween.inc|
|00001ac0| 6c 75 64 65 20 66 69 6c | 65 73 20 69 66 20 79 6f |lude fil|es if yo|
|00001ad0| 75 20 63 61 72 65 20 74 | 6f 2e 0a 2e 54 50 0a 2e |u care t|o...TP..|
|00001ae0| 49 20 2d 68 20 3c 68 66 | 69 6c 65 3e 0a 4f 75 74 |I -h <hf|ile>.Out|
|00001af0| 70 75 74 20 69 64 65 6e | 74 69 66 69 65 72 73 20 |put iden|tifiers |
|00001b00| 74 6f 20 74 68 65 20 73 | 70 65 63 69 66 69 65 64 |to the s|pecified|
|00001b10| 20 68 65 61 64 65 72 20 | 66 69 6c 65 73 2e 0a 54 | header |files..T|
|00001b20| 68 69 73 20 63 72 65 61 | 74 65 73 20 61 20 68 65 |his crea|tes a he|
|00001b30| 61 64 65 72 20 66 69 6c | 65 20 77 69 74 68 20 61 |ader fil|e with a|
|00001b40| 6c 6c 20 6f 66 20 74 68 | 65 20 61 70 70 72 6f 70 |ll of th|e approp|
|00001b50| 72 69 61 74 65 0a 23 64 | 65 66 69 6e 65 27 73 20 |riate.#d|efine's |
|00001b60| 69 6e 20 69 74 2e 20 20 | 57 69 74 68 6f 75 74 20 |in it. |Without |
|00001b70| 74 68 69 73 20 69 74 20 | 77 6f 75 6c 64 20 62 65 |this it |would be|
|00001b80| 20 75 70 20 74 6f 20 79 | 6f 75 20 74 6f 0a 65 6e | up to y|ou to.en|
|00001b90| 73 75 72 65 20 74 68 61 | 74 20 79 6f 75 20 6b 65 |sure tha|t you ke|
|00001ba0| 65 70 20 79 6f 75 72 20 | 63 6f 64 65 20 69 6e 20 |ep your |code in |
|00001bb0| 73 79 6e 63 20 77 69 74 | 68 20 74 68 65 20 63 61 |sync wit|h the ca|
|00001bc0| 74 61 6c 6f 67 20 66 69 | 6c 65 2e 0a 54 68 65 20 |talog fi|le..The |
|00001bd0| 68 65 61 64 65 72 20 66 | 69 6c 65 20 69 73 20 63 |header f|ile is c|
|00001be0| 72 65 61 74 65 64 20 66 | 72 6f 6d 20 61 6c 6c 20 |reated f|rom all |
|00001bf0| 6f 66 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 20 |of the p|revious |
|00001c00| 6d 65 73 73 61 67 65 20 | 66 69 6c 65 73 0a 6f 6e |message |files.on|
|00001c10| 20 74 68 65 20 63 6f 6d | 6d 61 6e 64 20 6c 69 6e | the com|mand lin|
|00001c20| 65 2c 20 73 6f 20 74 68 | 65 20 6f 72 64 65 72 20 |e, so th|e order |
|00001c30| 6f 66 20 74 68 65 20 63 | 6f 6d 6d 61 6e 64 20 6c |of the c|ommand l|
|00001c40| 69 6e 65 20 69 73 0a 69 | 6d 70 6f 72 74 61 6e 74 |ine is.i|mportant|
|00001c50| 2e 20 20 54 68 69 73 20 | 6d 65 61 6e 73 20 74 68 |. This |means th|
|00001c60| 61 74 20 69 66 20 79 6f | 75 20 6a 75 73 74 20 70 |at if yo|u just p|
|00001c70| 75 74 20 69 74 20 61 74 | 20 74 68 65 20 65 6e 64 |ut it at| the end|
|00001c80| 20 6f 66 0a 74 68 65 20 | 63 6f 6d 6d 61 6e 64 20 | of.the |command |
|00001c90| 6c 69 6e 65 2c 20 61 6c | 6c 20 74 68 65 20 64 65 |line, al|l the de|
|00001ca0| 66 69 6e 65 73 20 77 69 | 6c 6c 20 67 6f 20 69 6e |fines wi|ll go in|
|00001cb0| 20 6f 6e 65 20 66 69 6c | 65 0a 0a 2e 42 20 67 65 | one fil|e...B ge|
|00001cc0| 6e 63 61 74 20 66 6f 6f | 2e 6d 20 62 61 72 2e 6d |ncat foo|.m bar.m|
|00001cd0| 20 7a 61 70 2e 6d 20 2d | 68 20 61 6c 6c 2e 68 0a | zap.m -|h all.h.|
|00001ce0| 0a 49 66 20 79 6f 75 20 | 70 72 65 66 65 72 20 74 |.If you |prefer t|
|00001cf0| 6f 20 6b 65 65 70 20 79 | 6f 75 72 20 64 65 70 65 |o keep y|our depe|
|00001d00| 6e 64 65 6e 63 69 65 73 | 20 64 6f 77 6e 20 79 6f |ndencies| down yo|
|00001d10| 75 20 63 61 6e 20 73 70 | 65 63 69 66 79 0a 6f 6e |u can sp|ecify.on|
|00001d20| 65 20 61 66 74 65 72 20 | 65 61 63 68 20 6d 65 73 |e after |each mes|
|00001d30| 73 61 67 65 20 66 69 6c | 65 2c 20 61 6e 64 20 65 |sage fil|e, and e|
|00001d40| 61 63 68 20 2e 68 20 66 | 69 6c 65 20 77 69 6c 6c |ach .h f|ile will|
|00001d50| 20 72 65 63 65 69 76 65 | 0a 6f 6e 6c 79 20 74 68 | receive|.only th|
|00001d60| 65 20 69 64 65 6e 74 69 | 66 69 65 72 73 20 66 72 |e identi|fiers fr|
|00001d70| 6f 6d 20 74 68 65 20 70 | 72 65 76 69 6f 75 73 20 |om the p|revious |
|00001d80| 6d 65 73 73 61 67 65 20 | 66 69 6c 65 0a 0a 2e 42 |message |file...B|
|00001d90| 20 67 65 6e 63 61 74 20 | 66 6f 6f 2e 6d 20 2d 68 | gencat |foo.m -h|
|00001da0| 20 66 6f 6f 2e 68 20 62 | 61 72 2e 6d 20 2d 68 20 | foo.h b|ar.m -h |
|00001db0| 62 61 72 2e 68 20 7a 61 | 70 2e 6d 20 2d 68 20 7a |bar.h za|p.m -h z|
|00001dc0| 61 70 2e 68 0a 0a 41 73 | 20 61 6e 20 61 64 64 65 |ap.h..As| an adde|
|00001dd0| 64 20 62 6f 6e 75 73 2c | 20 69 66 20 79 6f 75 20 |d bonus,| if you |
|00001de0| 72 75 6e 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |run the |followin|
|00001df0| 67 20 73 65 71 75 65 6e | 63 65 3a 0a 0a 2e 42 20 |g sequen|ce:...B |
|00001e00| 67 65 6e 63 61 74 20 66 | 6f 6f 2e 6d 20 2d 68 20 |gencat f|oo.m -h |
|00001e10| 66 6f 6f 2e 68 0a 0a 74 | 68 65 20 66 69 6c 65 20 |foo.h..t|he file |
|00001e20| 66 6f 6f 2e 68 20 77 69 | 6c 6c 20 4e 4f 54 20 62 |foo.h wi|ll NOT b|
|00001e30| 65 20 6d 6f 64 69 66 69 | 65 64 20 74 68 65 20 73 |e modifi|ed the s|
|00001e40| 65 63 6f 6e 64 20 74 69 | 6d 65 2e 0a 2e 42 20 67 |econd ti|me...B g|
|00001e50| 65 6e 63 61 74 0a 63 68 | 65 63 6b 73 20 74 6f 20 |encat.ch|ecks to |
|00001e60| 73 65 65 20 69 66 20 74 | 68 65 20 63 6f 6e 74 65 |see if t|he conte|
|00001e70| 6e 74 73 20 68 61 76 65 | 20 63 68 61 6e 67 65 64 |nts have| changed|
|00001e80| 20 62 65 66 6f 72 65 20 | 6d 6f 64 69 66 79 69 6e | before |modifyin|
|00001e90| 67 0a 74 68 69 6e 67 73 | 2e 20 20 54 68 69 73 20 |g.things|. This |
|00001ea0| 6d 65 61 6e 73 20 74 68 | 61 74 20 79 6f 75 20 77 |means th|at you w|
|00001eb0| 6f 6e 27 74 20 67 65 74 | 20 73 70 75 72 69 6f 75 |on't get| spuriou|
|00001ec0| 73 20 72 65 62 75 69 6c | 64 73 20 6f 66 0a 79 6f |s rebuil|ds of.yo|
|00001ed0| 75 72 20 73 6f 75 72 63 | 65 20 65 76 65 72 79 20 |ur sourc|e every |
|00001ee0| 74 69 6d 65 20 79 6f 75 | 20 63 68 61 6e 67 65 20 |time you| change |
|00001ef0| 61 20 6d 65 73 73 61 67 | 65 2e 20 20 59 6f 75 20 |a messag|e. You |
|00001f00| 63 61 6e 20 74 68 75 73 | 20 75 73 65 0a 61 20 4d |can thus| use.a M|
|00001f10| 61 6b 65 66 69 6c 65 20 | 72 75 6c 65 20 73 75 63 |akefile |rule suc|
|00001f20| 68 20 61 73 3a 0a 0a 20 | 4d 53 47 53 52 43 20 3d |h as:.. |MSGSRC =|
|00001f30| 20 66 6f 6f 2e 6d 20 62 | 61 72 2e 6d 0a 20 47 45 | foo.m b|ar.m. GE|
|00001f40| 4e 46 4c 41 47 53 20 3d | 20 2d 6c 61 6e 67 20 43 |NFLAGS =| -lang C|
|00001f50| 0a 20 47 45 4e 43 41 54 | 20 3d 20 67 65 6e 63 61 |. GENCAT| = genca|
|00001f60| 74 0a 20 4d 53 47 46 49 | 4c 45 53 20 3d 20 6d 65 |t. MSGFI|LES = me|
|00001f70| 73 73 61 67 65 73 2f 45 | 6e 67 6c 69 73 68 0a 0a |ssages/E|nglish..|
|00001f80| 20 24 28 4d 53 47 46 49 | 4c 45 53 29 3a 20 24 28 | $(MSGFI|LES): $(|
|00001f90| 4d 53 47 53 52 43 29 0a | 20 20 20 20 20 20 20 40 |MSGSRC).| @|
|00001fa0| 66 6f 72 20 69 20 69 6e | 20 24 3f 3b 20 64 6f 20 |for i in| $?; do |
|00001fb0| 63 6d 64 3d 22 24 28 47 | 45 4e 43 41 54 29 20 24 |cmd="$(G|ENCAT) $|
|00001fc0| 28 47 45 4e 46 4c 41 47 | 53 29 20 24 40 20 24 24 |(GENFLAG|S) $@ $$|
|00001fd0| 69 20 2d 68 20 60 62 61 | 73 65 6e 61 6d 65 20 24 |i -h `ba|sename $|
|00001fe0| 24 69 20 2e 6d 60 2e 48 | 22 3b 20 65 63 68 6f 20 |$i .m`.H|"; echo |
|00001ff0| 24 24 63 6d 64 3b 20 24 | 24 63 6d 64 3b 20 64 6f |$$cmd; $|$cmd; do|
|00002000| 6e 65 0a 0a 20 66 6f 6f | 2e 6f 3a 20 20 66 6f 6f |ne.. foo|.o: foo|
|00002010| 2e 68 0a 0a 54 68 65 20 | 66 6f 72 2d 6c 6f 6f 70 |.h..The |for-loop|
|00002020| 20 69 73 6e 27 74 20 74 | 6f 6f 20 70 72 65 74 74 | isn't t|oo prett|
|00002030| 79 2c 20 62 75 74 20 69 | 74 20 77 6f 72 6b 73 2e |y, but i|t works.|
|00002040| 20 20 46 6f 72 20 65 61 | 63 68 20 2e 6d 0a 66 69 | For ea|ch .m.fi|
|00002050| 6c 65 20 74 68 61 74 20 | 68 61 73 20 63 68 61 6e |le that |has chan|
|00002060| 67 65 64 20 77 65 20 72 | 75 6e 0a 2e 42 20 67 65 |ged we r|un..B ge|
|00002070| 6e 63 61 74 0a 6f 6e 20 | 69 74 2e 20 20 66 6f 6f |ncat.on |it. foo|
|00002080| 2e 6f 20 64 65 70 65 6e | 64 73 20 6f 6e 0a 74 68 |.o depen|ds on.th|
|00002090| 65 20 72 65 73 75 6c 74 | 20 6f 66 20 74 68 61 74 |e result| of that|
|000020a0| 0a 2e 42 20 67 65 6e 63 | 61 74 0a 28 66 6f 6f 2e |..B genc|at.(foo.|
|000020b0| 68 29 20 62 75 74 20 66 | 6f 6f 2e 68 20 77 6f 6e |h) but f|oo.h won|
|000020c0| 27 74 20 61 63 74 75 61 | 6c 6c 79 0a 62 65 20 6d |'t actua|lly.be m|
|000020d0| 6f 64 69 66 69 65 64 20 | 75 6e 6c 65 73 73 20 77 |odified |unless w|
|000020e0| 65 20 63 68 61 6e 67 65 | 64 20 74 68 65 20 6f 72 |e change|d the or|
|000020f0| 64 65 72 20 28 6f 72 20 | 61 64 64 65 64 20 6e 65 |der (or |added ne|
|00002100| 77 20 6d 65 6d 62 65 72 | 73 29 0a 74 6f 20 66 6f |w member|s).to fo|
|00002110| 6f 2e 6d 2e 0a 0a 0a 2e | 50 50 0a 54 68 65 0a 2e |o.m.....|PP.The..|
|00002120| 42 20 67 65 6e 63 61 74 | 0a 73 6f 66 74 77 61 72 |B gencat|.softwar|
|00002130| 65 20 68 61 73 20 74 77 | 6f 20 70 75 72 70 6f 73 |e has tw|o purpos|
|00002140| 65 73 20 61 6e 64 20 69 | 73 20 75 73 75 61 6c 6c |es and i|s usuall|
|00002150| 79 20 75 73 65 64 20 69 | 6e 20 32 20 70 61 73 73 |y used i|n 2 pass|
|00002160| 65 73 2e 20 0a 54 68 65 | 20 66 69 72 73 74 20 75 |es. .The| first u|
|00002170| 73 65 20 69 73 20 74 6f | 20 67 65 6e 65 72 61 74 |se is to| generat|
|00002180| 65 20 74 68 65 20 68 65 | 61 64 65 72 20 66 69 6c |e the he|ader fil|
|00002190| 65 73 20 66 72 6f 6d 20 | 74 68 65 20 6d 65 73 73 |es from |the mess|
|000021a0| 61 67 65 20 66 69 6c 65 | 73 20 73 6f 0a 74 68 61 |age file|s so.tha|
|000021b0| 74 20 74 68 65 20 73 6f | 66 74 77 61 72 65 20 63 |t the so|ftware c|
|000021c0| 61 6e 20 75 73 65 20 64 | 65 73 63 72 69 70 74 69 |an use d|escripti|
|000021d0| 76 65 20 6e 61 6d 65 73 | 20 77 68 65 6e 20 72 65 |ve names| when re|
|000021e0| 66 65 72 72 69 6e 67 20 | 74 6f 0a 73 65 74 73 20 |ferring |to.sets |
|000021f0| 61 6e 64 20 6d 65 73 73 | 61 67 65 73 2e 0a 0a 54 |and mess|ages...T|
|00002200| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 63 6f 6d |he follo|wing com|
|00002210| 6d 61 6e 64 20 77 69 6c | 6c 20 61 63 63 6f 6d 70 |mand wil|l accomp|
|00002220| 6c 69 73 68 20 74 68 69 | 73 3a 0a 0a 2e 52 53 0a |lish thi|s:...RS.|
|00002230| 2e 42 20 67 65 6e 63 61 | 74 20 2d 6e 65 77 20 2f |.B genca|t -new /|
|00002240| 64 65 76 2f 6e 75 6c 6c | 20 66 6f 6f 62 61 72 2e |dev/null| foobar.|
|00002250| 6d 20 2d 68 20 66 6f 6f | 62 61 72 2d 6e 6c 73 2e |m -h foo|bar-nls.|
|00002260| 68 0a 2e 52 45 0a 0a 54 | 68 65 0a 2e 42 20 67 65 |h..RE..T|he..B ge|
|00002270| 6e 63 61 74 0a 73 6f 66 | 74 77 61 72 65 20 77 69 |ncat.sof|tware wi|
|00002280| 6c 6c 20 74 61 6b 65 20 | 74 68 65 20 66 6f 6f 62 |ll take |the foob|
|00002290| 61 72 2e 6d 20 6d 65 73 | 73 61 67 65 20 66 69 6c |ar.m mes|sage fil|
|000022a0| 65 20 61 6e 64 20 70 72 | 6f 64 75 63 65 20 61 0a |e and pr|oduce a.|
|000022b0| 68 65 61 64 65 72 20 66 | 69 6c 65 20 63 61 6c 6c |header f|ile call|
|000022c0| 65 64 20 66 6f 6f 62 61 | 72 2d 6e 6c 73 2e 68 20 |ed fooba|r-nls.h |
|000022d0| 77 68 69 63 68 20 63 61 | 6e 20 74 68 65 20 62 65 |which ca|n the be|
|000022e0| 20 69 6e 63 6c 75 64 65 | 64 20 69 6e 20 74 68 65 | include|d in the|
|000022f0| 0a 73 6f 66 74 77 61 72 | 65 2e 20 20 54 68 65 20 |.softwar|e. The |
|00002300| 2d 6e 65 77 20 61 6e 64 | 20 2f 64 65 76 2f 6e 75 |-new and| /dev/nu|
|00002310| 6c 6c 20 66 6c 61 67 73 | 20 69 6e 64 69 63 61 74 |ll flags| indicat|
|00002320| 65 20 74 68 61 74 0a 2e | 42 20 67 65 6e 63 61 74 |e that..|B gencat|
|00002330| 0a 73 68 6f 75 6c 64 20 | 61 6c 73 6f 0a 67 65 6e |.should |also.gen|
|00002340| 65 72 61 74 65 20 61 20 | 6e 65 77 20 6d 65 73 73 |erate a |new mess|
|00002350| 61 67 65 20 63 61 74 61 | 6c 6f 67 20 62 75 74 20 |age cata|log but |
|00002360| 73 65 6e 64 20 74 68 65 | 20 72 65 73 75 6c 74 61 |send the| resulta|
|00002370| 6e 74 20 63 61 74 61 6c | 6f 67 20 74 6f 20 74 68 |nt catal|og to th|
|00002380| 65 20 62 69 74 0a 62 75 | 63 6b 65 74 2e 20 20 28 |e bit.bu|cket. (|
|00002390| 54 68 65 0a 2e 42 20 67 | 65 6e 63 61 74 0a 73 6f |The..B g|encat.so|
|000023a0| 66 74 77 61 72 65 20 64 | 6f 65 73 6e 27 74 20 77 |ftware d|oesn't w|
|000023b0| 6f 72 6b 20 77 69 74 68 | 6f 75 74 20 74 68 65 73 |ork with|out thes|
|000023c0| 65 20 74 77 6f 20 65 6e | 74 72 69 65 73 29 2e 0a |e two en|tries)..|
|000023d0| 0a 49 66 20 79 6f 75 20 | 77 61 6e 74 20 74 6f 20 |.If you |want to |
|000023e0| 67 65 6e 65 72 61 74 65 | 20 6d 75 6c 74 69 70 6c |generate| multipl|
|000023f0| 65 20 68 65 61 64 65 72 | 20 66 69 6c 65 73 20 66 |e header| files f|
|00002400| 6f 72 20 6d 75 6c 74 69 | 70 6c 65 20 6d 65 73 73 |or multi|ple mess|
|00002410| 61 67 65 0a 66 69 6c 65 | 73 2c 20 79 6f 75 20 68 |age.file|s, you h|
|00002420| 61 76 65 20 74 6f 20 75 | 73 65 20 74 68 65 20 66 |ave to u|se the f|
|00002430| 6f 6c 6c 6f 77 69 6e 67 | 20 63 6f 6d 6d 61 6e 64 |ollowing| command|
|00002440| 3a 0a 0a 2e 42 20 67 65 | 6e 63 61 74 20 2d 6e 65 |:...B ge|ncat -ne|
|00002450| 77 20 2f 64 65 76 2f 6e | 75 6c 6c 20 61 61 61 2e |w /dev/n|ull aaa.|
|00002460| 6d 20 2d 68 20 61 61 61 | 2d 6e 6c 73 2e 68 20 62 |m -h aaa|-nls.h b|
|00002470| 62 62 2e 6d 20 2d 68 20 | 62 62 62 2d 6e 6c 73 2e |bb.m -h |bbb-nls.|
|00002480| 6d 20 2e 2e 2e 2e 0a 0a | 54 68 69 73 20 77 69 6c |m ......|This wil|
|00002490| 6c 20 67 65 6e 65 72 61 | 74 65 20 61 20 68 65 61 |l genera|te a hea|
|000024a0| 64 65 72 20 66 69 6c 65 | 20 66 6f 72 20 65 61 63 |der file| for eac|
|000024b0| 68 20 6d 65 73 73 61 67 | 65 20 66 69 6c 65 2e 20 |h messag|e file. |
|000024c0| 20 46 6f 72 20 65 61 63 | 68 0a 6d 65 73 73 61 67 | For eac|h.messag|
|000024d0| 65 20 73 65 74 20 74 68 | 61 74 20 79 6f 75 72 20 |e set th|at your |
|000024e0| 73 6f 66 74 77 61 72 65 | 20 61 63 63 65 73 73 65 |software| accesse|
|000024f0| 73 2c 20 79 6f 75 20 77 | 69 6c 6c 20 6e 65 65 64 |s, you w|ill need|
|00002500| 20 74 6f 20 69 6e 63 6c | 75 64 65 20 74 68 65 0a | to incl|ude the.|
|00002510| 63 6f 72 72 65 73 70 6f | 6e 64 69 6e 67 20 68 65 |correspo|nding he|
|00002520| 61 64 65 72 20 66 69 6c | 65 2e 20 20 49 66 20 79 |ader fil|e. If y|
|00002530| 6f 75 20 77 6f 75 6c 64 | 20 6c 69 6b 65 20 74 6f |ou would| like to|
|00002540| 20 63 6f 6d 70 69 6c 65 | 20 6a 75 73 74 20 6f 6e | compile| just on|
|00002550| 65 0a 73 6f 6c 69 74 61 | 72 79 20 68 65 61 64 65 |e.solita|ry heade|
|00002560| 72 20 66 69 6c 65 20 66 | 6f 72 20 61 6c 6c 20 79 |r file f|or all y|
|00002570| 6f 75 72 20 6d 65 73 73 | 61 67 65 20 73 65 74 73 |our mess|age sets|
|00002580| 2c 20 74 68 65 20 66 6f | 6c 6c 6f 77 69 6e 67 20 |, the fo|llowing |
|00002590| 63 6f 6d 6d 61 6e 64 0a | 63 61 6e 20 62 65 20 75 |command.|can be u|
|000025a0| 73 65 64 3a 0a 0a 2e 42 | 20 67 65 6e 63 61 74 20 |sed:...B| gencat |
|000025b0| 2d 6e 65 77 20 2f 64 65 | 76 2f 6e 75 6c 6c 20 61 |-new /de|v/null a|
|000025c0| 61 61 2e 6d 20 62 62 62 | 2e 6d 20 63 63 63 2e 6d |aa.m bbb|.m ccc.m|
|000025d0| 20 2d 68 20 66 6f 6f 62 | 61 72 2d 6e 6c 73 2e 6d | -h foob|ar-nls.m|
|000025e0| 0a 0a 54 68 65 20 6f 74 | 68 65 72 20 75 73 65 20 |..The ot|her use |
|000025f0| 66 6f 72 20 74 68 65 0a | 2e 42 20 67 65 6e 63 61 |for the.|.B genca|
|00002600| 74 0a 73 6f 66 74 77 61 | 72 65 20 69 73 20 69 6e |t.softwa|re is in|
|00002610| 20 67 65 6e 65 72 61 74 | 69 6e 67 20 6d 65 73 73 | generat|ing mess|
|00002620| 61 67 65 20 63 61 74 61 | 6c 6f 67 73 0a 66 72 6f |age cata|logs.fro|
|00002630| 6d 20 74 68 65 20 6d 65 | 73 73 61 67 65 20 66 69 |m the me|ssage fi|
|00002640| 6c 65 73 2e 20 20 54 6f | 20 67 65 6e 65 72 61 74 |les. To| generat|
|00002650| 65 20 61 20 6e 65 77 20 | 6d 65 73 73 61 67 65 20 |e a new |message |
|00002660| 63 61 74 61 6c 6f 67 2c | 20 74 68 65 0a 66 6f 6c |catalog,| the.fol|
|00002670| 6c 6f 77 69 6e 67 20 63 | 6f 6d 6d 61 6e 64 20 63 |lowing c|ommand c|
|00002680| 61 6e 20 62 65 20 75 73 | 65 64 3a 0a 0a 2e 52 53 |an be us|ed:...RS|
|00002690| 0a 2e 42 20 67 65 6e 63 | 61 74 20 2d 6e 65 77 20 |..B genc|at -new |
|000026a0| 66 6f 6f 62 61 72 2e 63 | 61 74 20 66 6f 6f 62 61 |foobar.c|at fooba|
|000026b0| 72 2e 6d 0a 2e 52 45 0a | 0a 54 68 69 73 20 77 69 |r.m..RE.|.This wi|
|000026c0| 6c 6c 20 74 61 6b 65 20 | 74 68 65 20 66 6f 6f 62 |ll take |the foob|
|000026d0| 61 72 2e 6d 20 6d 65 73 | 73 61 67 65 20 66 69 6c |ar.m mes|sage fil|
|000026e0| 65 20 61 6e 64 20 63 6f | 6d 70 69 6c 65 20 69 74 |e and co|mpile it|
|000026f0| 20 69 6e 74 6f 20 61 20 | 6d 65 73 73 61 67 65 0a | into a |message.|
|00002700| 63 61 74 61 6c 6f 67 20 | 63 61 6c 6c 65 64 20 66 |catalog |called f|
|00002710| 6f 6f 62 61 72 2e 63 61 | 74 2e 20 20 54 6f 20 63 |oobar.ca|t. To c|
|00002720| 6f 6d 70 69 6c 65 20 6d | 75 6c 74 69 70 6c 65 20 |ompile m|ultiple |
|00002730| 6d 65 73 73 61 67 65 20 | 73 65 74 73 20 69 6e 74 |message |sets int|
|00002740| 6f 20 6f 6e 65 0a 63 61 | 74 61 6c 6f 67 2c 20 74 |o one.ca|talog, t|
|00002750| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 63 6f 6d |he follo|wing com|
|00002760| 6d 61 6e 64 20 63 61 6e | 20 62 65 20 75 73 65 64 |mand can| be used|
|00002770| 3a 0a 0a 2e 42 20 67 65 | 6e 63 61 74 20 2d 6e 65 |:...B ge|ncat -ne|
|00002780| 77 20 66 6f 6f 62 61 72 | 2e 63 61 74 20 66 6f 6f |w foobar|.cat foo|
|00002790| 62 61 72 31 2e 6d 20 66 | 6f 6f 62 61 72 32 2e 6d |bar1.m f|oobar2.m|
|000027a0| 20 66 6f 6f 62 61 72 33 | 2e 6d 20 2e 2e 2e 0a 0a | foobar3|.m .....|
|000027b0| 54 68 65 20 75 73 75 61 | 6c 20 77 61 79 20 66 6f |The usua|l way fo|
|000027c0| 72 20 63 6f 6d 70 69 6c | 69 6e 67 20 6d 65 73 73 |r compil|ing mess|
|000027d0| 61 67 65 20 63 61 74 61 | 6c 6f 67 73 20 69 73 20 |age cata|logs is |
|000027e0| 76 69 61 20 61 20 4d 61 | 6b 65 66 69 6c 65 2e 20 |via a Ma|kefile. |
|000027f0| 20 49 6e 20 74 68 69 73 | 0a 63 61 73 65 2c 20 69 | In this|.case, i|
|00002800| 74 20 69 73 20 6f 66 74 | 65 6e 20 65 61 73 69 65 |t is oft|en easie|
|00002810| 72 20 74 6f 20 64 65 66 | 69 6e 65 20 61 20 76 61 |r to def|ine a va|
|00002820| 72 69 61 62 6c 65 20 28 | 73 61 79 2c 20 4d 45 53 |riable (|say, MES|
|00002830| 53 41 47 45 46 49 4c 45 | 53 29 20 74 6f 0a 63 6f |SAGEFILE|S) to.co|
|00002840| 6e 74 61 69 6e 20 74 68 | 65 20 6c 69 73 74 20 6f |ntain th|e list o|
|00002850| 66 20 6d 65 73 73 61 67 | 65 20 66 69 6c 65 73 20 |f messag|e files |
|00002860| 77 68 69 63 68 20 6e 65 | 65 64 20 74 6f 20 62 65 |which ne|ed to be|
|00002870| 20 63 6f 6d 70 69 6c 65 | 64 20 69 6e 74 6f 20 61 | compile|d into a|
|00002880| 0a 63 61 74 61 6c 6f 67 | 2e 20 20 65 67 2c 20 69 |.catalog|. eg, i|
|00002890| 6e 20 74 68 65 20 61 62 | 6f 76 65 20 65 78 61 6d |n the ab|ove exam|
|000028a0| 70 6c 65 20 77 65 20 77 | 6f 75 6c 64 20 68 61 76 |ple we w|ould hav|
|000028b0| 65 20 61 20 6c 69 6e 65 | 20 77 69 74 68 69 6e 20 |e a line| within |
|000028c0| 74 68 65 0a 4d 61 6b 65 | 66 69 6c 65 20 72 65 61 |the.Make|file rea|
|000028d0| 64 69 6e 67 3a 0a 0a 2e | 42 20 4d 45 53 53 41 47 |ding:...|B MESSAG|
|000028e0| 45 46 49 4c 45 53 20 3d | 20 66 6f 6f 62 61 72 31 |EFILES =| foobar1|
|000028f0| 2e 6d 20 66 6f 6f 62 61 | 72 32 2e 6d 20 66 6f 6f |.m fooba|r2.m foo|
|00002900| 62 61 72 33 2e 6d 20 2e | 2e 2e 2e 0a 0a 54 68 65 |bar3.m .|.....The|
|00002910| 6e 20 74 6f 20 63 6f 6d | 70 69 6c 65 20 74 68 65 |n to com|pile the|
|00002920| 73 65 20 66 69 6c 65 73 | 20 69 6e 74 6f 20 61 20 |se files| into a |
|00002930| 63 61 74 61 6c 6f 67 2c | 20 77 65 20 75 73 65 20 |catalog,| we use |
|00002940| 74 68 65 20 66 6f 6c 6c | 6f 77 69 6e 67 20 6c 69 |the foll|owing li|
|00002950| 6e 65 0a 77 69 74 68 69 | 6e 20 74 68 65 20 4d 61 |ne.withi|n the Ma|
|00002960| 6b 65 66 69 6c 65 3a 0a | 0a 2e 52 53 0a 2e 42 20 |kefile:.|..RS..B |
|00002970| 67 65 6e 63 61 74 20 2d | 6e 65 77 20 66 6f 6f 62 |gencat -|new foob|
|00002980| 61 72 2e 63 61 74 20 24 | 28 4d 45 53 53 41 47 45 |ar.cat $|(MESSAGE|
|00002990| 46 49 4c 45 53 29 0a 2e | 52 45 0a 0a 2e 53 48 20 |FILES)..|RE...SH |
|000029a0| 53 45 45 20 41 4c 53 4f | 0a 2e 42 52 20 78 74 72 |SEE ALSO|..BR xtr|
|000029b0| 61 63 74 28 31 29 2c 0a | 2e 42 52 20 73 65 74 6c |act(1),.|.BR setl|
|000029c0| 6f 63 61 6c 65 28 33 29 | 2c 0a 2e 42 52 20 63 61 |ocale(3)|,..BR ca|
|000029d0| 74 6f 70 65 6e 28 33 29 | 2c 0a 2e 42 52 20 63 61 |topen(3)|,..BR ca|
|000029e0| 74 67 65 74 73 28 33 29 | 2c 0a 2e 42 52 20 63 61 |tgets(3)|,..BR ca|
|000029f0| 74 63 6c 6f 73 65 28 33 | 29 0a 00 00 00 00 00 00 |tclose(3|).......|
|00002a00| 6d 61 6e 5f 64 62 2d 32 | 2e 33 2e 31 30 2f 67 65 |man_db-2|.3.10/ge|
|00002a10| 6e 63 61 74 2f 67 65 6e | 63 61 74 2e 63 00 00 00 |ncat/gen|cat.c...|
|00002a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002a60| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00002a70| 32 35 20 00 20 20 20 20 | 20 36 20 00 20 20 20 20 |25 . | 6 . |
|00002a80| 20 20 31 36 34 32 32 20 | 20 35 37 33 35 36 33 30 | 16422 | 5735630|
|00002a90| 35 31 31 20 20 31 34 32 | 31 33 00 20 30 00 00 00 |511 142|13. 0...|
|00002aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b00| 00 75 73 74 61 72 20 20 | 00 77 69 6c 66 00 00 00 |.ustar |.wilf...|
|00002b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00002b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00002c00| 0a 2f 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |./******|********|
|00002c10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002c20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00002c30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 0a 43 6f |********|*****.Co|
|00002c40| 70 79 72 69 67 68 74 20 | 31 39 39 30 2c 20 62 79 |pyright |1990, by|
|00002c50| 20 41 6c 66 61 6c 66 61 | 20 53 6f 66 74 77 61 72 | Alfalfa| Softwar|
|00002c60| 65 20 49 6e 63 6f 72 70 | 6f 72 61 74 65 64 2c 20 |e Incorp|orated, |
|00002c70| 43 61 6d 62 72 69 64 67 | 65 2c 20 4d 61 73 73 61 |Cambridg|e, Massa|
|00002c80| 63 68 75 73 65 74 74 73 | 2e 0a 0a 20 20 20 20 20 |chusetts|... |
|00002c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002ca0| 20 20 20 41 6c 6c 20 52 | 69 67 68 74 73 20 52 65 | All R|ights Re|
|00002cb0| 73 65 72 76 65 64 0a 0a | 50 65 72 6d 69 73 73 69 |served..|Permissi|
|00002cc0| 6f 6e 20 74 6f 20 75 73 | 65 2c 20 63 6f 70 79 2c |on to us|e, copy,|
|00002cd0| 20 6d 6f 64 69 66 79 2c | 20 61 6e 64 20 64 69 73 | modify,| and dis|
|00002ce0| 74 72 69 62 75 74 65 20 | 74 68 69 73 20 73 6f 66 |tribute |this sof|
|00002cf0| 74 77 61 72 65 20 61 6e | 64 20 69 74 73 0a 64 6f |tware an|d its.do|
|00002d00| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|00002d10| 61 6e 79 20 70 75 72 70 | 6f 73 65 20 61 6e 64 20 |any purp|ose and |
|00002d20| 77 69 74 68 6f 75 74 20 | 66 65 65 20 69 73 20 68 |without |fee is h|
|00002d30| 65 72 65 62 79 20 67 72 | 61 6e 74 65 64 2c 0a 70 |ereby gr|anted,.p|
|00002d40| 72 6f 76 69 64 65 64 20 | 74 68 61 74 20 74 68 65 |rovided |that the|
|00002d50| 20 61 62 6f 76 65 20 63 | 6f 70 79 72 69 67 68 74 | above c|opyright|
|00002d60| 20 6e 6f 74 69 63 65 20 | 61 70 70 65 61 72 20 69 | notice |appear i|
|00002d70| 6e 20 61 6c 6c 20 63 6f | 70 69 65 73 20 61 6e 64 |n all co|pies and|
|00002d80| 20 74 68 61 74 0a 62 6f | 74 68 20 74 68 61 74 20 | that.bo|th that |
|00002d90| 63 6f 70 79 72 69 67 68 | 74 20 6e 6f 74 69 63 65 |copyrigh|t notice|
|00002da0| 20 61 6e 64 20 74 68 69 | 73 20 70 65 72 6d 69 73 | and thi|s permis|
|00002db0| 73 69 6f 6e 20 6e 6f 74 | 69 63 65 20 61 70 70 65 |sion not|ice appe|
|00002dc0| 61 72 20 69 6e 0a 73 75 | 70 70 6f 72 74 69 6e 67 |ar in.su|pporting|
|00002dd0| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 2c 20 | documen|tation, |
|00002de0| 61 6e 64 20 74 68 61 74 | 20 41 6c 66 61 6c 66 61 |and that| Alfalfa|
|00002df0| 27 73 20 6e 61 6d 65 20 | 6e 6f 74 20 62 65 20 75 |'s name |not be u|
|00002e00| 73 65 64 20 69 6e 0a 61 | 64 76 65 72 74 69 73 69 |sed in.a|dvertisi|
|00002e10| 6e 67 20 6f 72 20 70 75 | 62 6c 69 63 69 74 79 20 |ng or pu|blicity |
|00002e20| 70 65 72 74 61 69 6e 69 | 6e 67 20 74 6f 20 64 69 |pertaini|ng to di|
|00002e30| 73 74 72 69 62 75 74 69 | 6f 6e 20 6f 66 20 74 68 |stributi|on of th|
|00002e40| 65 20 73 6f 66 74 77 61 | 72 65 0a 77 69 74 68 6f |e softwa|re.witho|
|00002e50| 75 74 20 73 70 65 63 69 | 66 69 63 2c 20 77 72 69 |ut speci|fic, wri|
|00002e60| 74 74 65 6e 20 70 72 69 | 6f 72 20 70 65 72 6d 69 |tten pri|or permi|
|00002e70| 73 73 69 6f 6e 2e 0a 0a | 41 4c 50 48 41 4c 50 48 |ssion...|ALPHALPH|
|00002e80| 41 20 44 49 53 43 4c 41 | 49 4d 53 20 41 4c 4c 20 |A DISCLA|IMS ALL |
|00002e90| 57 41 52 52 41 4e 54 49 | 45 53 20 57 49 54 48 20 |WARRANTI|ES WITH |
|00002ea0| 52 45 47 41 52 44 20 54 | 4f 20 54 48 49 53 20 53 |REGARD T|O THIS S|
|00002eb0| 4f 46 54 57 41 52 45 2c | 20 49 4e 43 4c 55 44 49 |OFTWARE,| INCLUDI|
|00002ec0| 4e 47 0a 41 4c 4c 20 49 | 4d 50 4c 49 45 44 20 57 |NG.ALL I|MPLIED W|
|00002ed0| 41 52 52 41 4e 54 49 45 | 53 20 4f 46 20 4d 45 52 |ARRANTIE|S OF MER|
|00002ee0| 43 48 41 4e 54 41 42 49 | 4c 49 54 59 20 41 4e 44 |CHANTABI|LITY AND|
|00002ef0| 20 46 49 54 4e 45 53 53 | 2c 20 49 4e 20 4e 4f 20 | FITNESS|, IN NO |
|00002f00| 45 56 45 4e 54 20 53 48 | 41 4c 4c 0a 41 4c 50 48 |EVENT SH|ALL.ALPH|
|00002f10| 41 4c 50 48 41 20 42 45 | 20 4c 49 41 42 4c 45 20 |ALPHA BE| LIABLE |
|00002f20| 46 4f 52 20 41 4e 59 20 | 53 50 45 43 49 41 4c 2c |FOR ANY |SPECIAL,|
|00002f30| 20 49 4e 44 49 52 45 43 | 54 20 4f 52 20 43 4f 4e | INDIREC|T OR CON|
|00002f40| 53 45 51 55 45 4e 54 49 | 41 4c 20 44 41 4d 41 47 |SEQUENTI|AL DAMAG|
|00002f50| 45 53 20 4f 52 0a 41 4e | 59 20 44 41 4d 41 47 45 |ES OR.AN|Y DAMAGE|
|00002f60| 53 20 57 48 41 54 53 4f | 45 56 45 52 20 52 45 53 |S WHATSO|EVER RES|
|00002f70| 55 4c 54 49 4e 47 20 46 | 52 4f 4d 20 4c 4f 53 53 |ULTING F|ROM LOSS|
|00002f80| 20 4f 46 20 55 53 45 2c | 20 44 41 54 41 20 4f 52 | OF USE,| DATA OR|
|00002f90| 20 50 52 4f 46 49 54 53 | 2c 0a 57 48 45 54 48 45 | PROFITS|,.WHETHE|
|00002fa0| 52 20 49 4e 20 41 4e 20 | 41 43 54 49 4f 4e 20 4f |R IN AN |ACTION O|
|00002fb0| 46 20 43 4f 4e 54 52 41 | 43 54 2c 20 4e 45 47 4c |F CONTRA|CT, NEGL|
|00002fc0| 49 47 45 4e 43 45 20 4f | 52 20 4f 54 48 45 52 20 |IGENCE O|R OTHER |
|00002fd0| 54 4f 52 54 49 4f 55 53 | 20 41 43 54 49 4f 4e 2c |TORTIOUS| ACTION,|
|00002fe0| 0a 41 52 49 53 49 4e 47 | 20 4f 55 54 20 4f 46 20 |.ARISING| OUT OF |
|00002ff0| 4f 52 20 49 4e 20 43 4f | 4e 4e 45 43 54 49 4f 4e |OR IN CO|NNECTION|
|00003000| 20 57 49 54 48 20 54 48 | 45 20 55 53 45 20 4f 52 | WITH TH|E USE OR|
|00003010| 20 50 45 52 46 4f 52 4d | 41 4e 43 45 20 4f 46 20 | PERFORM|ANCE OF |
|00003020| 54 48 49 53 0a 53 4f 46 | 54 57 41 52 45 2e 0a 0a |THIS.SOF|TWARE...|
|00003030| 49 66 20 79 6f 75 20 6d | 61 6b 65 20 61 6e 79 20 |If you m|ake any |
|00003040| 6d 6f 64 69 66 69 63 61 | 74 69 6f 6e 73 2c 20 62 |modifica|tions, b|
|00003050| 75 67 66 69 78 65 73 20 | 6f 72 20 6f 74 68 65 72 |ugfixes |or other|
|00003060| 20 63 68 61 6e 67 65 73 | 20 74 6f 20 74 68 69 73 | changes| to this|
|00003070| 20 73 6f 66 74 77 61 72 | 65 0a 77 65 27 64 20 61 | softwar|e.we'd a|
|00003080| 70 70 72 65 63 69 61 74 | 65 20 69 74 20 69 66 20 |ppreciat|e it if |
|00003090| 79 6f 75 20 63 6f 75 6c | 64 20 73 65 6e 64 20 61 |you coul|d send a|
|000030a0| 20 63 6f 70 79 20 74 6f | 20 75 73 20 73 6f 20 77 | copy to| us so w|
|000030b0| 65 20 63 61 6e 20 6b 65 | 65 70 20 74 68 69 6e 67 |e can ke|ep thing|
|000030c0| 73 0a 75 70 2d 74 6f 2d | 64 61 74 65 2e 20 20 4d |s.up-to-|date. M|
|000030d0| 61 6e 79 20 74 68 61 6e | 6b 73 2e 0a 09 09 09 09 |any than|ks......|
|000030e0| 4b 65 65 20 48 69 6e 63 | 6b 6c 65 79 0a 09 09 09 |Kee Hinc|kley....|
|000030f0| 09 41 6c 66 61 6c 66 61 | 20 53 6f 66 74 77 61 72 |.Alfalfa| Softwar|
|00003100| 65 2c 20 49 6e 63 2e 0a | 09 09 09 09 32 36 37 20 |e, Inc..|....267 |
|00003110| 41 6c 6c 73 74 6f 6e 20 | 53 74 2e 2c 20 23 33 0a |Allston |St., #3.|
|00003120| 09 09 09 09 43 61 6d 62 | 72 69 64 67 65 2c 20 4d |....Camb|ridge, M|
|00003130| 41 20 30 32 31 33 39 20 | 20 55 53 41 0a 09 09 09 |A 02139 | USA....|
|00003140| 09 6e 61 7a 67 75 6c 40 | 61 6c 66 61 6c 66 61 2e |.nazgul@|alfalfa.|
|00003150| 63 6f 6d 0a 20 20 20 20 | 0a 2a 2a 2a 2a 2a 2a 2a |com. |.*******|
|00003160| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003180| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00003190| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2f 0a 0a 2f 2a |********|***/../*|
|000031a0| 20 45 64 69 74 20 48 69 | 73 74 6f 72 79 0a 0a 30 | Edit Hi|story..0|
|000031b0| 31 2f 31 38 2f 39 31 20 | 20 20 33 20 68 61 6d 69 |1/18/91 | 3 hami|
|000031c0| 6c 74 6f 6e 09 23 69 66 | 20 6e 6f 74 20 72 65 70 |lton.#if| not rep|
|000031d0| 61 72 73 65 64 0a 30 31 | 2f 31 32 2f 39 31 20 20 |arsed.01|/12/91 |
|000031e0| 20 32 20 73 63 68 75 6c | 65 72 74 09 63 6f 6e 64 | 2 schul|ert.cond|
|000031f0| 69 74 69 6f 6e 61 6c 6c | 79 20 75 73 65 20 70 72 |itionall|y use pr|
|00003200| 6f 74 6f 74 79 70 65 73 | 0a 31 32 2f 32 33 2f 39 |ototypes|.12/23/9|
|00003210| 30 20 20 20 32 20 68 61 | 6d 69 6c 74 6f 6e 09 46 |0 2 ha|milton.F|
|00003220| 69 78 20 66 64 20 3d 3d | 20 4e 55 4c 4c 20 74 6f |ix fd ==| NULL to|
|00003230| 20 66 64 20 3c 20 30 0a | 31 31 2f 30 33 2f 39 30 | fd < 0.|11/03/90|
|00003240| 20 20 20 31 20 68 61 6d | 69 6c 74 6f 6e 09 41 6c | 1 ham|ilton.Al|
|00003250| 70 68 61 6c 70 68 61 2d | 3e 41 6c 66 61 6c 66 61 |phalpha-|>Alfalfa|
|00003260| 20 26 20 4f 6d 65 67 61 | 4d 61 69 6c 2d 3e 50 6f | & Omega|Mail->Po|
|00003270| 73 74 65 0a 30 38 2f 31 | 33 2f 39 30 20 20 20 31 |ste.08/1|3/90 1|
|00003280| 20 73 63 68 75 6c 65 72 | 74 09 6d 6f 76 65 20 66 | schuler|t.move f|
|00003290| 72 6f 6d 20 75 61 20 74 | 6f 20 6f 6d 75 0a 2a 2f |rom ua t|o omu.*/|
|000032a0| 0a 0a 23 69 66 64 65 66 | 20 48 41 56 45 5f 43 4f |..#ifdef| HAVE_CO|
|000032b0| 4e 46 49 47 5f 48 0a 23 | 20 20 69 6e 63 6c 75 64 |NFIG_H.#| includ|
|000032c0| 65 20 22 63 6f 6e 66 69 | 67 2e 68 22 0a 23 65 6e |e "confi|g.h".#en|
|000032d0| 64 69 66 0a 0a 23 69 6e | 63 6c 75 64 65 20 3c 73 |dif..#in|clude <s|
|000032e0| 74 64 69 6f 2e 68 3e 0a | 23 69 6e 63 6c 75 64 65 |tdio.h>.|#include|
|000032f0| 20 3c 73 79 73 2f 74 79 | 70 65 73 2e 68 3e 0a 0a | <sys/ty|pes.h>..|
|00003300| 23 69 66 20 48 41 56 45 | 5f 55 4e 49 53 54 44 5f |#if HAVE|_UNISTD_|
|00003310| 48 0a 23 20 20 69 6e 63 | 6c 75 64 65 20 3c 75 6e |H.# inc|lude <un|
|00003320| 69 73 74 64 2e 68 3e 0a | 23 65 6e 64 69 66 0a 0a |istd.h>.|#endif..|
|00003330| 23 69 66 20 48 41 56 45 | 5f 46 43 4e 54 4c 5f 48 |#if HAVE|_FCNTL_H|
|00003340| 0a 23 20 20 69 6e 63 6c | 75 64 65 20 3c 66 63 6e |.# incl|ude <fcn|
|00003350| 74 6c 2e 68 3e 0a 23 65 | 6e 64 69 66 0a 0a 23 69 |tl.h>.#e|ndif..#i|
|00003360| 66 20 48 41 56 45 5f 53 | 54 52 49 4e 47 5f 48 0a |f HAVE_S|TRING_H.|
|00003370| 23 20 20 69 6e 63 6c 75 | 64 65 20 3c 73 74 72 69 |# inclu|de <stri|
|00003380| 6e 67 2e 68 3e 0a 23 65 | 6c 69 66 20 48 41 56 45 |ng.h>.#e|lif HAVE|
|00003390| 5f 53 54 52 49 4e 47 53 | 5f 48 0a 23 20 20 69 6e |_STRINGS|_H.# in|
|000033a0| 63 6c 75 64 65 20 3c 73 | 74 72 69 6e 67 73 2e 68 |clude <s|trings.h|
|000033b0| 3e 0a 23 65 6e 64 69 66 | 0a 0a 23 69 66 20 48 41 |>.#endif|..#if HA|
|000033c0| 56 45 5f 53 59 53 5f 46 | 49 4c 45 5f 48 0a 23 20 |VE_SYS_F|ILE_H.# |
|000033d0| 20 69 6e 63 6c 75 64 65 | 20 3c 73 79 73 2f 66 69 | include| <sys/fi|
|000033e0| 6c 65 2e 68 3e 0a 23 65 | 6e 64 69 66 0a 0a 23 69 |le.h>.#e|ndif..#i|
|000033f0| 6e 63 6c 75 64 65 20 3c | 73 79 73 2f 73 74 61 74 |nclude <|sys/stat|
|00003400| 2e 68 3e 0a 23 69 6e 63 | 6c 75 64 65 20 22 67 65 |.h>.#inc|lude "ge|
|00003410| 6e 63 61 74 2e 68 22 0a | 0a 23 69 66 6e 64 65 66 |ncat.h".|.#ifndef|
|00003420| 20 4c 5f 53 45 54 0a 23 | 64 65 66 69 6e 65 20 4c | L_SET.#|define L|
|00003430| 5f 53 45 54 20 53 45 45 | 4b 5f 53 45 54 0a 23 65 |_SET SEE|K_SET.#e|
|00003440| 6e 64 69 66 0a 0a 23 69 | 66 6e 64 65 66 20 4c 5f |ndif..#i|fndef L_|
|00003450| 49 4e 43 52 0a 23 64 65 | 66 69 6e 65 20 4c 5f 49 |INCR.#de|fine L_I|
|00003460| 4e 43 52 20 53 45 45 4b | 5f 43 55 52 0a 23 65 6e |NCR SEEK|_CUR.#en|
|00003470| 64 69 66 0a 0a 2f 2a 0a | 20 2a 20 54 68 65 20 73 |dif../*.| * The s|
|00003480| 70 65 63 20 73 61 79 73 | 20 74 68 65 20 73 79 6e |pec says| the syn|
|00003490| 74 61 78 20 69 73 20 22 | 67 65 6e 63 61 74 20 63 |tax is "|gencat c|
|000034a0| 61 74 66 69 6c 65 20 6d | 73 67 66 69 6c 65 2e 2e |atfile m|sgfile..|
|000034b0| 2e 22 2e 0a 20 2a 20 57 | 65 20 65 78 74 65 6e 64 |.".. * W|e extend|
|000034c0| 20 69 74 20 74 6f 3a 0a | 20 2a 20 09 67 65 6e 63 | it to:.| * .genc|
|000034d0| 61 74 20 5b 2d 6e 65 77 | 5d 20 5b 2d 6f 72 5d 20 |at [-new|] [-or] |
|000034e0| 5b 2d 6c 61 6e 67 20 43 | 7c 43 2b 2b 7c 41 4e 53 |[-lang C||C++|ANS|
|000034f0| 49 43 5d 20 63 61 74 66 | 69 6c 65 20 6d 73 67 66 |IC] catf|ile msgf|
|00003500| 69 6c 65 0a 20 2a 09 20 | 20 20 20 20 20 20 5b 2d |ile. *. | [-|
|00003510| 68 20 3c 68 65 61 64 65 | 72 2d 66 69 6c 65 3e 5d |h <heade|r-file>]|
|00003520| 2e 2e 2e 0a 20 2a 20 46 | 6c 61 67 73 20 61 72 65 |.... * F|lags are|
|00003530| 20 6f 72 64 65 72 20 64 | 65 70 65 6e 64 61 6e 74 | order d|ependant|
|00003540| 2c 20 77 65 27 6c 6c 20 | 74 61 6b 65 20 77 68 61 |, we'll |take wha|
|00003550| 74 65 76 65 72 20 6c 61 | 6e 67 20 77 61 73 20 6d |tever la|ng was m|
|00003560| 6f 73 74 20 72 65 63 65 | 6e 74 6c 79 20 63 68 6f |ost rece|ntly cho|
|00003570| 73 65 6e 0a 20 2a 20 61 | 6e 64 20 75 73 65 20 69 |sen. * a|nd use i|
|00003580| 74 20 74 6f 20 67 65 6e | 65 72 61 74 65 20 74 68 |t to gen|erate th|
|00003590| 65 20 6e 65 78 74 20 68 | 65 61 64 65 72 20 66 69 |e next h|eader fi|
|000035a0| 6c 65 2e 20 20 54 68 65 | 20 68 65 61 64 65 72 20 |le. The| header |
|000035b0| 66 69 6c 65 73 20 61 72 | 65 20 67 65 6e 65 72 61 |files ar|e genera|
|000035c0| 74 65 64 0a 20 2a 20 61 | 74 20 74 68 65 20 70 6f |ted. * a|t the po|
|000035d0| 69 6e 74 20 69 6e 20 74 | 68 65 20 63 6f 6d 6d 61 |int in t|he comma|
|000035e0| 6e 64 20 6c 69 6e 65 20 | 74 68 65 79 20 61 72 65 |nd line |they are|
|000035f0| 20 6c 69 73 74 65 64 2e | 20 20 54 68 75 73 20 74 | listed.| Thus t|
|00003600| 68 65 20 73 65 71 75 65 | 6e 63 65 3a 0a 20 2a 09 |he seque|nce:. *.|
|00003610| 67 65 6e 63 61 74 20 2d | 6c 61 6e 67 20 43 20 66 |gencat -|lang C f|
|00003620| 6f 6f 2e 63 61 74 20 66 | 6f 6f 2e 6d 63 73 20 2d |oo.cat f|oo.mcs -|
|00003630| 68 20 66 6f 6f 2e 68 20 | 2d 6c 61 6e 67 20 43 2b |h foo.h |-lang C+|
|00003640| 2b 20 62 61 72 2e 6d 63 | 73 20 2d 68 20 62 61 72 |+ bar.mc|s -h bar|
|00003650| 2e 48 0a 20 2a 20 77 69 | 6c 6c 20 70 75 74 20 63 |.H. * wi|ll put c|
|00003660| 6f 6e 73 74 61 6e 74 73 | 20 66 72 6f 6d 20 66 6f |onstants| from fo|
|00003670| 6f 2e 6d 63 73 20 69 6e | 74 6f 20 66 6f 6f 2e 68 |o.mcs in|to foo.h|
|00003680| 20 61 6e 64 20 63 6f 6e | 73 74 61 6e 74 73 20 66 | and con|stants f|
|00003690| 72 6f 6d 20 62 61 72 2e | 6d 63 73 20 69 6e 74 6f |rom bar.|mcs into|
|000036a0| 0a 20 2a 20 62 61 72 2e | 68 2e 20 20 43 6f 6e 73 |. * bar.|h. Cons|
|000036b0| 74 61 6e 74 73 20 61 72 | 65 20 6e 6f 74 20 73 61 |tants ar|e not sa|
|000036c0| 76 65 64 20 69 6e 20 74 | 68 65 20 63 61 74 61 6c |ved in t|he catal|
|000036d0| 6f 67 20 66 69 6c 65 2c | 20 73 6f 20 6e 6f 74 68 |og file,| so noth|
|000036e0| 69 6e 67 20 77 69 6c 6c | 20 63 6f 6d 65 0a 20 2a |ing will| come. *|
|000036f0| 20 66 72 6f 6d 20 74 68 | 61 74 2c 20 65 76 65 6e | from th|at, even|
|00003700| 20 69 66 20 74 68 69 6e | 67 73 20 68 61 76 65 20 | if thin|gs have |
|00003710| 62 65 65 6e 20 64 65 66 | 69 6e 65 64 20 62 65 66 |been def|ined bef|
|00003720| 6f 72 65 2e 20 20 54 68 | 65 20 63 6f 6e 73 74 61 |ore. Th|e consta|
|00003730| 6e 74 73 20 69 6e 20 66 | 6f 6f 2e 68 0a 20 2a 20 |nts in f|oo.h. * |
|00003740| 77 69 6c 6c 20 62 65 20 | 69 6e 20 43 20 73 79 6e |will be |in C syn|
|00003750| 74 61 78 2c 20 69 6e 20 | 62 61 72 2e 48 20 69 6e |tax, in |bar.H in|
|00003760| 20 43 2b 2b 20 73 79 6e | 74 61 78 2e 0a 20 2a 2f | C++ syn|tax.. */|
|00003770| 0a 0a 73 74 61 74 69 63 | 20 76 6f 69 64 20 77 72 |..static| void wr|
|00003780| 69 74 65 49 66 43 68 61 | 6e 67 65 64 28 0a 23 69 |iteIfCha|nged(.#i|
|00003790| 66 20 64 65 66 69 6e 65 | 64 28 5f 5f 53 54 44 43 |f define|d(__STDC|
|000037a0| 5f 5f 29 20 7c 7c 20 64 | 65 66 69 6e 65 64 28 5f |__) || d|efined(_|
|000037b0| 5f 63 70 6c 75 73 70 6c | 75 73 29 0a 09 09 63 68 |_cpluspl|us)...ch|
|000037c0| 61 72 20 2a 66 6e 61 6d | 65 2c 20 69 6e 74 20 6c |ar *fnam|e, int l|
|000037d0| 61 6e 67 2c 20 69 6e 74 | 20 6f 72 43 6f 6e 73 74 |ang, int| orConst|
|000037e0| 73 0a 23 65 6e 64 69 66 | 0a 29 3b 0a 0a 76 6f 69 |s.#endif|.);..voi|
|000037f0| 64 20 75 73 61 67 65 28 | 29 20 7b 0a 20 20 20 20 |d usage(|) {. |
|00003800| 66 70 72 69 6e 74 66 28 | 73 74 64 65 72 72 2c 20 |fprintf(|stderr, |
|00003810| 22 55 73 65 3a 20 67 65 | 6e 63 61 74 20 5b 2d 6e |"Use: ge|ncat [-n|
|00003820| 65 77 5d 20 5b 2d 6f 72 | 5d 20 5b 2d 6c 61 6e 67 |ew] [-or|] [-lang|
|00003830| 20 43 7c 43 2b 2b 7c 41 | 4e 53 49 43 5d 20 63 61 | C|C++|A|NSIC] ca|
|00003840| 74 66 69 6c 65 20 6d 73 | 67 66 69 6c 65 20 5b 2d |tfile ms|gfile [-|
|00003850| 68 20 3c 68 65 61 64 65 | 72 2d 66 69 6c 65 3e 5d |h <heade|r-file>]|
|00003860| 2e 2e 2e 5c 6e 22 29 3b | 0a 7d 0a 0a 76 6f 69 64 |...\n");|.}..void|
|00003870| 20 6d 61 69 6e 28 0a 23 | 69 66 20 64 65 66 69 6e | main(.#|if defin|
|00003880| 65 64 28 5f 5f 53 54 44 | 43 5f 5f 29 20 7c 7c 20 |ed(__STD|C__) || |
|00003890| 64 65 66 69 6e 65 64 28 | 5f 5f 63 70 6c 75 73 70 |defined(|__cplusp|
|000038a0| 6c 75 73 29 0a 09 09 69 | 6e 74 20 61 72 67 63 2c |lus)...i|nt argc,|
|000038b0| 20 63 68 61 72 20 2a 61 | 72 67 76 5b 5d 29 0a 23 | char *a|rgv[]).#|
|000038c0| 65 6c 73 65 0a 09 09 61 | 72 67 63 2c 20 61 72 67 |else...a|rgc, arg|
|000038d0| 76 29 0a 69 6e 74 20 61 | 72 67 63 3b 0a 63 68 61 |v).int a|rgc;.cha|
|000038e0| 72 20 2a 61 72 67 76 5b | 5d 3b 0a 23 65 6e 64 69 |r *argv[|];.#endi|
|000038f0| 66 0a 7b 0a 20 20 20 20 | 69 6e 74 09 09 6f 66 64 |f.{. |int..ofd|
|00003900| 2c 20 69 66 64 2c 20 69 | 3b 0a 20 20 20 20 63 68 |, ifd, i|;. ch|
|00003910| 61 72 09 2a 63 61 74 66 | 69 6c 65 20 3d 20 4e 55 |ar.*catf|ile = NU|
|00003920| 4c 4c 3b 0a 20 20 20 20 | 63 68 61 72 09 2a 69 6e |LL;. |char.*in|
|00003930| 70 75 74 20 3d 20 4e 55 | 4c 4c 3b 0a 20 20 20 20 |put = NU|LL;. |
|00003940| 69 6e 74 09 09 6c 61 6e | 67 20 3d 20 4d 43 4c 61 |int..lan|g = MCLa|
|00003950| 6e 67 43 3b 0a 20 20 20 | 20 69 6e 74 09 09 6e 65 |ngC;. | int..ne|
|00003960| 77 20 3d 20 46 61 6c 73 | 65 3b 0a 20 20 20 20 69 |w = Fals|e;. i|
|00003970| 6e 74 09 09 6f 72 43 6f | 6e 73 74 73 20 3d 20 46 |nt..orCo|nsts = F|
|00003980| 61 6c 73 65 3b 0a 20 20 | 20 20 0a 20 20 20 20 66 |alse;. | . f|
|00003990| 6f 72 20 28 69 20 3d 20 | 31 3b 20 69 20 3c 20 61 |or (i = |1; i < a|
|000039a0| 72 67 63 3b 20 2b 2b 69 | 29 20 7b 0a 09 69 66 20 |rgc; ++i|) {..if |
|000039b0| 28 61 72 67 76 5b 69 5d | 5b 30 5d 20 3d 3d 20 27 |(argv[i]|[0] == '|
|000039c0| 2d 27 29 20 7b 0a 09 20 | 20 20 20 69 66 20 28 73 |-') {.. | if (s|
|000039d0| 74 72 63 6d 70 28 61 72 | 67 76 5b 69 5d 2c 20 22 |trcmp(ar|gv[i], "|
|000039e0| 2d 6c 61 6e 67 22 29 20 | 3d 3d 20 30 29 20 7b 0a |-lang") |== 0) {.|
|000039f0| 09 09 2b 2b 69 3b 0a 09 | 09 69 66 20 28 73 74 72 |..++i;..|.if (str|
|00003a00| 63 6d 70 28 61 72 67 76 | 5b 69 5d 2c 20 22 43 22 |cmp(argv|[i], "C"|
|00003a10| 29 20 3d 3d 20 30 29 20 | 6c 61 6e 67 20 3d 20 4d |) == 0) |lang = M|
|00003a20| 43 4c 61 6e 67 43 3b 0a | 09 09 65 6c 73 65 20 69 |CLangC;.|..else i|
|00003a30| 66 20 28 73 74 72 63 6d | 70 28 61 72 67 76 5b 69 |f (strcm|p(argv[i|
|00003a40| 5d 2c 20 22 43 2b 2b 22 | 29 20 3d 3d 20 30 29 20 |], "C++"|) == 0) |
|00003a50| 6c 61 6e 67 20 3d 20 4d | 43 4c 61 6e 67 43 50 6c |lang = M|CLangCPl|
|00003a60| 75 73 50 6c 75 73 3b 0a | 09 09 65 6c 73 65 20 69 |usPlus;.|..else i|
|00003a70| 66 20 28 73 74 72 63 6d | 70 28 61 72 67 76 5b 69 |f (strcm|p(argv[i|
|00003a80| 5d 2c 20 22 41 4e 53 49 | 43 22 29 20 3d 3d 20 30 |], "ANSI|C") == 0|
|00003a90| 29 20 6c 61 6e 67 20 3d | 20 4d 43 4c 61 6e 67 41 |) lang =| MCLangA|
|00003aa0| 4e 53 49 43 3b 0a 09 09 | 65 6c 73 65 20 7b 0a 09 |NSIC;...|else {..|
|00003ab0| 09 20 20 20 20 66 70 72 | 69 6e 74 66 28 73 74 64 |. fpr|intf(std|
|00003ac0| 65 72 72 2c 20 22 67 65 | 6e 63 61 74 3a 20 55 6e |err, "ge|ncat: Un|
|00003ad0| 72 65 63 6f 67 6e 69 7a | 65 64 20 6c 61 6e 67 75 |recogniz|ed langu|
|00003ae0| 61 67 65 3a 20 25 73 5c | 6e 22 2c 20 61 72 67 76 |age: %s\|n", argv|
|00003af0| 5b 69 5d 29 3b 0a 09 09 | 20 20 20 20 65 78 69 74 |[i]);...| exit|
|00003b00| 28 31 29 3b 0a 09 09 7d | 20 0a 09 20 20 20 20 7d |(1);...}| .. }|
|00003b10| 20 65 6c 73 65 20 69 66 | 20 28 73 74 72 6e 63 6d | else if| (strncm|
|00003b20| 70 28 61 72 67 76 5b 69 | 5d 2c 20 22 2d 68 22 2c |p(argv[i|], "-h",|
|00003b30| 20 32 29 20 3d 3d 20 30 | 29 20 7b 0a 09 09 69 66 | 2) == 0|) {...if|
|00003b40| 20 28 21 69 6e 70 75 74 | 29 20 7b 0a 09 09 20 20 | (!input|) {... |
|00003b50| 20 20 66 70 72 69 6e 74 | 66 28 73 74 64 65 72 72 | fprint|f(stderr|
|00003b60| 2c 20 22 67 65 6e 63 61 | 74 3a 20 43 61 6e 27 74 |, "genca|t: Can't|
|00003b70| 20 77 72 69 74 65 20 74 | 6f 20 61 20 68 65 61 64 | write t|o a head|
|00003b80| 65 72 20 62 65 66 6f 72 | 65 20 72 65 61 64 69 6e |er befor|e readin|
|00003b90| 67 20 73 6f 6d 65 74 68 | 69 6e 67 2e 5c 6e 22 29 |g someth|ing.\n")|
|00003ba0| 3b 0a 09 09 20 20 20 20 | 65 78 69 74 28 31 29 3b |;... |exit(1);|
|00003bb0| 0a 09 09 7d 0a 09 09 2b | 2b 69 3b 0a 09 09 77 72 |...}...+|+i;...wr|
|00003bc0| 69 74 65 49 66 43 68 61 | 6e 67 65 64 28 61 72 67 |iteIfCha|nged(arg|
|00003bd0| 76 5b 69 5d 2c 20 6c 61 | 6e 67 2c 20 6f 72 43 6f |v[i], la|ng, orCo|
|00003be0| 6e 73 74 73 29 3b 0a 09 | 20 20 20 20 7d 20 65 6c |nsts);..| } el|
|00003bf0| 73 65 20 69 66 20 28 73 | 74 72 6e 63 6d 70 28 61 |se if (s|trncmp(a|
|00003c00| 72 67 76 5b 69 5d 2c 20 | 22 2d 6e 65 77 22 2c 20 |rgv[i], |"-new", |
|00003c10| 34 29 20 3d 3d 20 30 29 | 20 7b 0a 09 09 69 66 20 |4) == 0)| {...if |
|00003c20| 28 63 61 74 66 69 6c 65 | 29 20 7b 0a 09 09 20 20 |(catfile|) {... |
|00003c30| 20 20 66 70 72 69 6e 74 | 66 28 73 74 64 65 72 72 | fprint|f(stderr|
|00003c40| 2c 20 22 67 65 6e 63 61 | 74 3a 20 59 6f 75 20 6d |, "genca|t: You m|
|00003c50| 75 73 74 20 73 70 65 63 | 69 66 79 20 2d 6e 65 77 |ust spec|ify -new|
|00003c60| 20 62 65 66 6f 72 65 20 | 74 68 65 20 63 61 74 61 | before |the cata|
|00003c70| 6c 6f 67 20 66 69 6c 65 | 20 6e 61 6d 65 5c 6e 22 |log file| name\n"|
|00003c80| 29 3b 0a 09 09 20 20 20 | 20 65 78 69 74 28 31 29 |);... | exit(1)|
|00003c90| 3b 0a 09 09 7d 0a 09 09 | 6e 65 77 20 3d 20 54 72 |;...}...|new = Tr|
|00003ca0| 75 65 3b 0a 09 20 20 20 | 20 7d 20 65 6c 73 65 20 |ue;.. | } else |
|00003cb0| 69 66 20 28 73 74 72 6e | 63 6d 70 28 61 72 67 76 |if (strn|cmp(argv|
|00003cc0| 5b 69 5d 2c 20 22 2d 6f | 72 22 2c 20 33 29 20 3d |[i], "-o|r", 3) =|
|00003cd0| 3d 20 30 29 20 7b 0a 09 | 09 6f 72 43 6f 6e 73 74 |= 0) {..|.orConst|
|00003ce0| 73 20 3d 20 7e 6f 72 43 | 6f 6e 73 74 73 3b 0a 09 |s = ~orC|onsts;..|
|00003cf0| 20 20 20 20 7d 20 65 6c | 73 65 20 7b 0a 09 09 75 | } el|se {...u|
|00003d00| 73 61 67 65 28 29 3b 0a | 09 09 65 78 69 74 28 31 |sage();.|..exit(1|
|00003d10| 29 3b 0a 09 20 20 20 20 | 7d 0a 20 20 20 20 20 20 |);.. |}. |
|00003d20| 20 20 7d 20 65 6c 73 65 | 20 7b 0a 09 20 20 20 20 | } else| {.. |
|00003d30| 69 66 20 28 21 63 61 74 | 66 69 6c 65 29 20 7b 0a |if (!cat|file) {.|
|00003d40| 09 09 63 61 74 66 69 6c | 65 20 3d 20 61 72 67 76 |..catfil|e = argv|
|00003d50| 5b 69 5d 3b 0a 09 09 69 | 66 20 28 6e 65 77 29 20 |[i];...i|f (new) |
|00003d60| 7b 0a 09 09 20 20 20 20 | 69 66 20 28 28 6f 66 64 |{... |if ((ofd|
|00003d70| 20 3d 20 6f 70 65 6e 28 | 63 61 74 66 69 6c 65 2c | = open(|catfile,|
|00003d80| 20 4f 5f 57 52 4f 4e 4c | 59 7c 4f 5f 54 52 55 4e | O_WRONL|Y|O_TRUN|
|00003d90| 43 7c 4f 5f 43 52 45 41 | 54 2c 20 30 36 36 36 29 |C|O_CREA|T, 0666)|
|00003da0| 29 20 3c 20 30 29 20 7b | 0a 09 09 09 66 70 72 69 |) < 0) {|....fpri|
|00003db0| 6e 74 66 28 73 74 64 65 | 72 72 2c 20 22 67 65 6e |ntf(stde|rr, "gen|
|00003dc0| 63 61 74 3a 20 55 6e 61 | 62 6c 65 20 74 6f 20 63 |cat: Una|ble to c|
|00003dd0| 72 65 61 74 65 20 61 20 | 6e 65 77 20 25 73 2e 5c |reate a |new %s.\|
|00003de0| 6e 22 2c 20 63 61 74 66 | 69 6c 65 29 3b 0a 09 09 |n", catf|ile);...|
|00003df0| 09 65 78 69 74 28 31 29 | 3b 0a 09 09 20 20 20 20 |.exit(1)|;... |
|00003e00| 7d 0a 09 09 7d 20 65 6c | 73 65 20 69 66 20 28 28 |}...} el|se if ((|
|00003e10| 6f 66 64 20 3d 20 6f 70 | 65 6e 28 63 61 74 66 69 |ofd = op|en(catfi|
|00003e20| 6c 65 2c 20 4f 5f 52 44 | 4f 4e 4c 59 29 29 20 3c |le, O_RD|ONLY)) <|
|00003e30| 20 30 29 20 7b 0a 09 09 | 20 20 20 20 69 66 20 28 | 0) {...| if (|
|00003e40| 28 6f 66 64 20 3d 20 6f | 70 65 6e 28 63 61 74 66 |(ofd = o|pen(catf|
|00003e50| 69 6c 65 2c 20 4f 5f 57 | 52 4f 4e 4c 59 7c 4f 5f |ile, O_W|RONLY|O_|
|00003e60| 43 52 45 41 54 2c 20 30 | 36 36 36 29 29 20 3c 20 |CREAT, 0|666)) < |
|00003e70| 30 29 20 7b 0a 09 09 09 | 66 70 72 69 6e 74 66 28 |0) {....|fprintf(|
|00003e80| 73 74 64 65 72 72 2c 20 | 22 67 65 6e 63 61 74 3a |stderr, |"gencat:|
|00003e90| 20 55 6e 61 62 6c 65 20 | 74 6f 20 63 72 65 61 74 | Unable |to creat|
|00003ea0| 65 20 25 73 2e 5c 6e 22 | 2c 20 63 61 74 66 69 6c |e %s.\n"|, catfil|
|00003eb0| 65 29 3b 0a 09 09 09 65 | 78 69 74 28 31 29 3b 0a |e);....e|xit(1);.|
|00003ec0| 09 09 20 20 20 20 7d 0a | 09 09 7d 20 65 6c 73 65 |.. }.|..} else|
|00003ed0| 20 7b 0a 09 09 20 20 20 | 20 4d 43 52 65 61 64 43 | {... | MCReadC|
|00003ee0| 61 74 28 6f 66 64 29 3b | 0a 09 09 20 20 20 20 63 |at(ofd);|... c|
|00003ef0| 6c 6f 73 65 28 6f 66 64 | 29 3b 0a 09 09 20 20 20 |lose(ofd|);... |
|00003f00| 20 69 66 20 28 28 6f 66 | 64 20 3d 20 6f 70 65 6e | if ((of|d = open|
|00003f10| 28 63 61 74 66 69 6c 65 | 2c 20 4f 5f 57 52 4f 4e |(catfile|, O_WRON|
|00003f20| 4c 59 7c 4f 5f 54 52 55 | 4e 43 29 29 20 3c 20 30 |LY|O_TRU|NC)) < 0|
|00003f30| 29 20 7b 0a 09 09 09 66 | 70 72 69 6e 74 66 28 73 |) {....f|printf(s|
|00003f40| 74 64 65 72 72 2c 20 22 | 67 65 6e 63 61 74 3a 20 |tderr, "|gencat: |
|00003f50| 55 6e 61 62 6c 65 20 74 | 6f 20 74 72 75 6e 63 61 |Unable t|o trunca|
|00003f60| 74 65 20 25 73 2e 5c 6e | 22 2c 20 63 61 74 66 69 |te %s.\n|", catfi|
|00003f70| 6c 65 29 3b 0a 09 09 09 | 65 78 69 74 28 31 29 3b |le);....|exit(1);|
|00003f80| 0a 09 09 20 20 20 20 7d | 0a 09 09 7d 0a 09 20 20 |... }|...}.. |
|00003f90| 20 20 7d 20 65 6c 73 65 | 20 7b 0a 09 09 69 6e 70 | } else| {...inp|
|00003fa0| 75 74 20 3d 20 61 72 67 | 76 5b 69 5d 3b 0a 09 09 |ut = arg|v[i];...|
|00003fb0| 69 66 20 28 28 69 66 64 | 20 3d 20 6f 70 65 6e 28 |if ((ifd| = open(|
|00003fc0| 69 6e 70 75 74 2c 20 4f | 5f 52 44 4f 4e 4c 59 29 |input, O|_RDONLY)|
|00003fd0| 29 20 3c 20 30 29 20 7b | 0a 09 09 20 20 20 20 66 |) < 0) {|... f|
|00003fe0| 70 72 69 6e 74 66 28 73 | 74 64 65 72 72 2c 20 22 |printf(s|tderr, "|
|00003ff0| 67 65 6e 63 61 74 3a 20 | 55 6e 61 62 6c 65 20 74 |gencat: |Unable t|
|00004000| 6f 20 72 65 61 64 20 25 | 73 5c 6e 22 2c 20 69 6e |o read %|s\n", in|
|00004010| 70 75 74 29 3b 0a 09 09 | 20 20 20 20 65 78 69 74 |put);...| exit|
|00004020| 28 31 29 3b 0a 09 09 7d | 0a 09 09 4d 43 50 61 72 |(1);...}|...MCPar|
|00004030| 73 65 28 69 66 64 29 3b | 0a 09 09 63 6c 6f 73 65 |se(ifd);|...close|
|00004040| 28 69 66 64 29 3b 0a 09 | 20 20 20 20 7d 0a 09 7d |(ifd);..| }..}|
|00004050| 0a 20 20 20 20 7d 0a 20 | 20 20 20 69 66 20 28 63 |. }. | if (c|
|00004060| 61 74 66 69 6c 65 29 20 | 7b 0a 09 4d 43 57 72 69 |atfile) |{..MCWri|
|00004070| 74 65 43 61 74 28 6f 66 | 64 29 3b 0a 09 65 78 69 |teCat(of|d);..exi|
|00004080| 74 28 30 29 3b 0a 20 20 | 20 20 7d 20 65 6c 73 65 |t(0);. | } else|
|00004090| 20 7b 0a 09 75 73 61 67 | 65 28 29 3b 0a 09 65 78 | {..usag|e();..ex|
|000040a0| 69 74 28 31 29 3b 0a 20 | 20 20 20 7d 0a 7d 0a 0a |it(1);. | }.}..|
|000040b0| 73 74 61 74 69 63 20 76 | 6f 69 64 20 77 72 69 74 |static v|oid writ|
|000040c0| 65 49 66 43 68 61 6e 67 | 65 64 28 0a 23 69 66 20 |eIfChang|ed(.#if |
|000040d0| 64 65 66 69 6e 65 64 28 | 5f 5f 53 54 44 43 5f 5f |defined(|__STDC__|
|000040e0| 29 20 7c 7c 20 64 65 66 | 69 6e 65 64 28 5f 5f 63 |) || def|ined(__c|
|000040f0| 70 6c 75 73 70 6c 75 73 | 29 0a 09 09 63 68 61 72 |plusplus|)...char|
|00004100| 20 2a 66 6e 61 6d 65 2c | 20 69 6e 74 20 6c 61 6e | *fname,| int lan|
|00004110| 67 2c 20 69 6e 74 20 6f | 72 43 6f 6e 73 74 73 29 |g, int o|rConsts)|
|00004120| 0a 23 65 6c 73 65 0a 09 | 09 66 6e 61 6d 65 2c 20 |.#else..|.fname, |
|00004130| 6c 61 6e 67 2c 20 6f 72 | 43 6f 6e 73 74 73 29 0a |lang, or|Consts).|
|00004140| 63 68 61 72 20 2a 66 6e | 61 6d 65 3b 0a 69 6e 74 |char *fn|ame;.int|
|00004150| 20 6c 61 6e 67 3b 0a 69 | 6e 74 20 6f 72 43 6f 6e | lang;.i|nt orCon|
|00004160| 73 74 73 3b 0a 23 65 6e | 64 69 66 0a 7b 0a 20 20 |sts;.#en|dif.{. |
|00004170| 20 20 63 68 61 72 09 74 | 6d 70 6e 61 6d 65 5b 33 | char.t|mpname[3|
|00004180| 32 5d 3b 0a 20 20 20 20 | 63 68 61 72 09 62 75 66 |2];. |char.buf|
|00004190| 5b 42 55 46 53 49 5a 5d | 2c 20 74 62 75 66 5b 42 |[BUFSIZ]|, tbuf[B|
|000041a0| 55 46 53 49 5a 5d 2c 20 | 2a 63 70 74 72 2c 20 2a |UFSIZ], |*cptr, *|
|000041b0| 74 70 74 72 3b 0a 20 20 | 20 20 69 6e 74 09 09 66 |tptr;. | int..f|
|000041c0| 64 2c 20 74 66 64 3b 0a | 20 20 20 20 69 6e 74 09 |d, tfd;.| int.|
|000041d0| 09 64 69 66 66 20 3d 20 | 46 61 6c 73 65 3b 0a 20 |.diff = |False;. |
|000041e0| 20 20 20 69 6e 74 09 09 | 6c 65 6e 2c 20 74 6c 65 | int..|len, tle|
|000041f0| 6e 3b 0a 20 20 20 20 73 | 74 72 75 63 74 20 73 74 |n;. s|truct st|
|00004200| 61 74 09 73 62 75 66 3b | 0a 0a 20 20 20 20 2f 2a |at.sbuf;|.. /*|
|00004210| 20 49 66 20 69 74 20 64 | 6f 65 73 6e 27 74 20 65 | If it d|oesn't e|
|00004220| 78 69 73 74 2c 20 6a 75 | 73 74 20 63 72 65 61 74 |xist, ju|st creat|
|00004230| 65 20 69 74 20 2a 2f 0a | 20 20 20 20 69 66 20 28 |e it */.| if (|
|00004240| 73 74 61 74 28 66 6e 61 | 6d 65 2c 20 26 73 62 75 |stat(fna|me, &sbu|
|00004250| 66 29 29 20 7b 0a 09 69 | 66 20 28 28 66 64 20 3d |f)) {..i|f ((fd =|
|00004260| 20 6f 70 65 6e 28 66 6e | 61 6d 65 2c 20 4f 5f 57 | open(fn|ame, O_W|
|00004270| 52 4f 4e 4c 59 7c 4f 5f | 43 52 45 41 54 2c 20 30 |RONLY|O_|CREAT, 0|
|00004280| 36 36 36 29 29 20 3c 20 | 30 29 20 7b 0a 09 20 20 |666)) < |0) {.. |
|00004290| 20 20 66 70 72 69 6e 74 | 66 28 73 74 64 65 72 72 | fprint|f(stderr|
|000042a0| 2c 20 22 67 65 6e 63 61 | 74 3a 20 55 6e 61 62 6c |, "genca|t: Unabl|
|000042b0| 65 20 74 6f 20 63 72 65 | 61 74 65 20 68 65 61 64 |e to cre|ate head|
|000042c0| 65 72 20 66 69 6c 65 20 | 25 73 2e 5c 6e 22 2c 20 |er file |%s.\n", |
|000042d0| 66 6e 61 6d 65 29 3b 0a | 09 20 20 20 20 65 78 69 |fname);.|. exi|
|000042e0| 74 28 31 29 3b 0a 09 7d | 0a 09 4d 43 57 72 69 74 |t(1);..}|..MCWrit|
|000042f0| 65 43 6f 6e 73 74 28 66 | 64 2c 20 6c 61 6e 67 2c |eConst(f|d, lang,|
|00004300| 20 6f 72 43 6f 6e 73 74 | 73 29 3b 0a 09 63 6c 6f | orConst|s);..clo|
|00004310| 73 65 28 66 64 29 3b 0a | 09 72 65 74 75 72 6e 3b |se(fd);.|.return;|
|00004320| 0a 20 20 20 20 7d 0a 0a | 20 20 20 20 2f 2a 20 49 |. }..| /* I|
|00004330| 66 20 69 74 20 64 6f 65 | 73 20 65 78 69 73 74 2c |f it doe|s exist,|
|00004340| 20 63 72 65 61 74 65 20 | 61 20 74 65 6d 70 20 66 | create |a temp f|
|00004350| 69 6c 65 20 66 6f 72 20 | 6e 6f 77 20 2a 2f 0a 20 |ile for |now */. |
|00004360| 20 20 20 73 70 72 69 6e | 74 66 28 74 6d 70 6e 61 | sprin|tf(tmpna|
|00004370| 6d 65 2c 20 22 2f 74 6d | 70 2f 67 65 6e 63 61 74 |me, "/tm|p/gencat|
|00004380| 2e 25 64 22 2c 20 28 69 | 6e 74 29 20 67 65 74 70 |.%d", (i|nt) getp|
|00004390| 69 64 28 29 29 3b 0a 20 | 20 20 20 69 66 20 28 28 |id());. | if ((|
|000043a0| 74 66 64 20 3d 20 6f 70 | 65 6e 28 74 6d 70 6e 61 |tfd = op|en(tmpna|
|000043b0| 6d 65 2c 20 4f 5f 52 44 | 57 52 7c 4f 5f 43 52 45 |me, O_RD|WR|O_CRE|
|000043c0| 41 54 2c 20 30 36 36 36 | 29 29 20 3c 20 30 29 20 |AT, 0666|)) < 0) |
|000043d0| 7b 0a 09 66 70 72 69 6e | 74 66 28 73 74 64 65 72 |{..fprin|tf(stder|
|000043e0| 72 2c 20 22 67 65 6e 63 | 61 74 3a 20 55 6e 61 62 |r, "genc|at: Unab|
|000043f0| 6c 65 20 74 6f 20 6f 70 | 65 6e 20 74 65 6d 70 6f |le to op|en tempo|
|00004400| 72 61 72 79 20 66 69 6c | 65 3a 20 25 73 5c 6e 22 |rary fil|e: %s\n"|
|00004410| 2c 20 74 6d 70 6e 61 6d | 65 29 3b 0a 09 65 78 69 |, tmpnam|e);..exi|
|00004420| 74 28 31 29 3b 0a 20 20 | 20 20 7d 0a 20 20 20 20 |t(1);. | }. |
|00004430| 75 6e 6c 69 6e 6b 28 74 | 6d 70 6e 61 6d 65 29 3b |unlink(t|mpname);|
|00004440| 0a 0a 20 20 20 20 2f 2a | 20 57 72 69 74 65 20 74 |.. /*| Write t|
|00004450| 6f 20 74 68 65 20 74 65 | 6d 70 20 66 69 6c 65 20 |o the te|mp file |
|00004460| 61 6e 64 20 72 65 77 69 | 6e 64 20 2a 2f 0a 20 20 |and rewi|nd */. |
|00004470| 20 20 4d 43 57 72 69 74 | 65 43 6f 6e 73 74 28 74 | MCWrit|eConst(t|
|00004480| 66 64 2c 20 6c 61 6e 67 | 2c 20 6f 72 43 6f 6e 73 |fd, lang|, orCons|
|00004490| 74 73 29 3b 0a 0a 20 20 | 20 20 2f 2a 20 4f 70 65 |ts);.. | /* Ope|
|000044a0| 6e 20 74 68 65 20 72 65 | 61 6c 20 68 65 61 64 65 |n the re|al heade|
|000044b0| 72 20 66 69 6c 65 20 2a | 2f 0a 20 20 20 20 69 66 |r file *|/. if|
|000044c0| 20 28 28 66 64 20 3d 20 | 6f 70 65 6e 28 66 6e 61 | ((fd = |open(fna|
|000044d0| 6d 65 2c 20 4f 5f 52 44 | 4f 4e 4c 59 29 29 20 3c |me, O_RD|ONLY)) <|
|000044e0| 20 30 29 20 7b 0a 09 66 | 70 72 69 6e 74 66 28 73 | 0) {..f|printf(s|
|000044f0| 74 64 65 72 72 2c 20 22 | 67 65 6e 63 61 74 3a 20 |tderr, "|gencat: |
|00004500| 55 6e 61 62 6c 65 20 74 | 6f 20 72 65 61 64 20 68 |Unable t|o read h|
|00004510| 65 61 64 65 72 20 66 69 | 6c 65 3a 20 25 73 5c 6e |eader fi|le: %s\n|
|00004520| 22 2c 20 66 6e 61 6d 65 | 29 3b 0a 09 65 78 69 74 |", fname|);..exit|
|00004530| 28 31 29 3b 0a 20 20 20 | 20 7d 0a 0a 20 20 20 20 |(1);. | }.. |
|00004540| 2f 2a 20 42 61 63 6b 75 | 70 20 74 6f 20 74 68 65 |/* Backu|p to the|
|00004550| 20 73 74 61 72 74 20 6f | 66 20 74 68 65 20 74 65 | start o|f the te|
|00004560| 6d 70 20 66 69 6c 65 20 | 2a 2f 0a 20 20 20 20 69 |mp file |*/. i|
|00004570| 66 20 28 6c 73 65 65 6b | 28 74 66 64 2c 20 30 4c |f (lseek|(tfd, 0L|
|00004580| 2c 20 4c 5f 53 45 54 29 | 20 3c 20 30 29 20 7b 0a |, L_SET)| < 0) {.|
|00004590| 09 66 70 72 69 6e 74 66 | 28 73 74 64 65 72 72 2c |.fprintf|(stderr,|
|000045a0| 20 22 67 65 6e 63 61 74 | 3a 20 55 6e 61 62 6c 65 | "gencat|: Unable|
|000045b0| 20 74 6f 20 73 65 65 6b | 20 69 6e 20 74 65 6d 70 | to seek| in temp|
|000045c0| 66 69 6c 65 3a 20 25 73 | 5c 6e 22 2c 20 74 6d 70 |file: %s|\n", tmp|
|000045d0| 6e 61 6d 65 29 3b 0a 09 | 65 78 69 74 28 31 29 3b |name);..|exit(1);|
|000045e0| 0a 20 20 20 20 7d 0a 0a | 20 20 20 20 2f 2a 20 4e |. }..| /* N|
|000045f0| 6f 77 20 63 6f 6d 70 61 | 72 65 20 74 68 65 6d 20 |ow compa|re them |
|00004600| 2a 2f 0a 20 20 20 20 77 | 68 69 6c 65 20 28 28 74 |*/. w|hile ((t|
|00004610| 6c 65 6e 20 3d 20 72 65 | 61 64 28 74 66 64 2c 20 |len = re|ad(tfd, |
|00004620| 74 62 75 66 2c 20 42 55 | 46 53 49 5a 29 29 20 3e |tbuf, BU|FSIZ)) >|
|00004630| 20 30 29 20 7b 0a 09 69 | 66 20 28 28 6c 65 6e 20 | 0) {..i|f ((len |
|00004640| 3d 20 72 65 61 64 28 66 | 64 2c 20 62 75 66 2c 20 |= read(f|d, buf, |
|00004650| 42 55 46 53 49 5a 29 29 | 20 21 3d 20 74 6c 65 6e |BUFSIZ))| != tlen|
|00004660| 29 20 7b 0a 09 20 20 20 | 20 64 69 66 66 20 3d 20 |) {.. | diff = |
|00004670| 54 72 75 65 3b 0a 09 20 | 20 20 20 67 6f 74 6f 20 |True;.. | goto |
|00004680| 64 6f 6e 65 3b 0a 09 7d | 0a 09 66 6f 72 20 28 63 |done;..}|..for (c|
|00004690| 70 74 72 20 3d 20 62 75 | 66 2c 20 74 70 74 72 20 |ptr = bu|f, tptr |
|000046a0| 3d 20 74 62 75 66 3b 20 | 63 70 74 72 20 3c 20 62 |= tbuf; |cptr < b|
|000046b0| 75 66 2b 6c 65 6e 3b 20 | 2b 2b 63 70 74 72 2c 20 |uf+len; |++cptr, |
|000046c0| 2b 2b 74 70 74 72 29 20 | 7b 0a 09 20 20 20 20 69 |++tptr) |{.. i|
|000046d0| 66 20 28 2a 74 70 74 72 | 20 21 3d 20 2a 63 70 74 |f (*tptr| != *cpt|
|000046e0| 72 29 20 7b 0a 09 09 64 | 69 66 66 20 3d 20 54 72 |r) {...d|iff = Tr|
|000046f0| 75 65 3b 0a 09 09 67 6f | 74 6f 20 64 6f 6e 65 3b |ue;...go|to done;|
|00004700| 0a 09 20 20 20 20 7d 0a | 09 7d 0a 20 20 20 20 7d |.. }.|.}. }|
|00004710| 0a 64 6f 6e 65 3a 20 20 | 20 20 0a 20 20 20 20 69 |.done: | . i|
|00004720| 66 20 28 64 69 66 66 29 | 20 7b 0a 09 69 66 20 28 |f (diff)| {..if (|
|00004730| 6c 73 65 65 6b 28 74 66 | 64 2c 20 30 4c 2c 20 4c |lseek(tf|d, 0L, L|
|00004740| 5f 53 45 54 29 20 3c 20 | 30 29 20 7b 0a 09 20 20 |_SET) < |0) {.. |
|00004750| 20 20 66 70 72 69 6e 74 | 66 28 73 74 64 65 72 72 | fprint|f(stderr|
|00004760| 2c 20 22 67 65 6e 63 61 | 74 3a 20 55 6e 61 62 6c |, "genca|t: Unabl|
|00004770| 65 20 74 6f 20 73 65 65 | 6b 20 69 6e 20 74 65 6d |e to see|k in tem|
|00004780| 70 66 69 6c 65 3a 20 25 | 73 5c 6e 22 2c 20 74 6d |pfile: %|s\n", tm|
|00004790| 70 6e 61 6d 65 29 3b 0a | 09 20 20 20 20 65 78 69 |pname);.|. exi|
|000047a0| 74 28 31 29 3b 0a 09 7d | 0a 09 63 6c 6f 73 65 28 |t(1);..}|..close(|
|000047b0| 66 64 29 3b 0a 09 69 66 | 20 28 28 66 64 20 3d 20 |fd);..if| ((fd = |
|000047c0| 6f 70 65 6e 28 66 6e 61 | 6d 65 2c 20 4f 5f 57 52 |open(fna|me, O_WR|
|000047d0| 4f 4e 4c 59 7c 4f 5f 54 | 52 55 4e 43 29 29 20 3c |ONLY|O_T|RUNC)) <|
|000047e0| 20 30 29 20 7b 0a 09 20 | 20 20 20 66 70 72 69 6e | 0) {.. | fprin|
|000047f0| 74 66 28 73 74 64 65 72 | 72 2c 20 22 67 65 6e 63 |tf(stder|r, "genc|
|00004800| 61 74 3a 20 55 6e 61 62 | 6c 65 20 74 6f 20 74 72 |at: Unab|le to tr|
|00004810| 75 6e 63 61 74 65 20 68 | 65 61 64 65 72 20 66 69 |uncate h|eader fi|
|00004820| 6c 65 3a 20 25 73 5c 6e | 22 2c 20 66 6e 61 6d 65 |le: %s\n|", fname|
|00004830| 29 3b 0a 09 20 20 20 20 | 65 78 69 74 28 31 29 3b |);.. |exit(1);|
|00004840| 0a 09 7d 0a 09 77 68 69 | 6c 65 20 28 28 6c 65 6e |..}..whi|le ((len|
|00004850| 20 3d 20 72 65 61 64 28 | 74 66 64 2c 20 62 75 66 | = read(|tfd, buf|
|00004860| 2c 20 42 55 46 53 49 5a | 29 29 20 3e 20 30 29 20 |, BUFSIZ|)) > 0) |
|00004870| 7b 0a 09 20 20 20 20 69 | 66 20 28 77 72 69 74 65 |{.. i|f (write|
|00004880| 28 66 64 2c 20 62 75 66 | 2c 20 6c 65 6e 29 20 21 |(fd, buf|, len) !|
|00004890| 3d 20 6c 65 6e 29 20 7b | 0a 09 09 66 70 72 69 6e |= len) {|...fprin|
|000048a0| 74 66 28 73 74 64 65 72 | 72 2c 20 22 67 65 6e 63 |tf(stder|r, "genc|
|000048b0| 61 74 3a 20 45 72 72 6f | 72 20 77 72 69 74 69 6e |at: Erro|r writin|
|000048c0| 67 20 74 6f 20 68 65 61 | 64 65 72 20 66 69 6c 65 |g to hea|der file|
|000048d0| 3a 20 25 73 5c 6e 22 2c | 20 66 6e 61 6d 65 29 3b |: %s\n",| fname);|
|000048e0| 0a 09 20 20 20 20 7d 0a | 09 7d 0a 20 20 20 20 7d |.. }.|.}. }|
|000048f0| 0a 20 20 20 20 63 6c 6f | 73 65 28 66 64 29 3b 0a |. clo|se(fd);.|
|00004900| 20 20 20 20 63 6c 6f 73 | 65 28 74 66 64 29 3b 0a | clos|e(tfd);.|
|00004910| 7d 0a 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |}.......|........|
|00004920| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004930| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004940| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004950| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004960| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004970| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004980| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004990| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000049f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a00| 6d 61 6e 5f 64 62 2d 32 | 2e 33 2e 31 30 2f 67 65 |man_db-2|.3.10/ge|
|00004a10| 6e 63 61 74 2f 67 65 6e | 63 61 74 2e 68 00 00 00 |ncat/gen|cat.h...|
|00004a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004a60| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00004a70| 32 35 20 00 20 20 20 20 | 20 36 20 00 20 20 20 20 |25 . | 6 . |
|00004a80| 20 20 20 36 36 32 33 20 | 20 35 36 32 33 34 37 34 | 6623 | 5623474|
|00004a90| 30 35 30 20 20 31 34 32 | 30 32 00 20 30 00 00 00 |050 142|02. 0...|
|00004aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b00| 00 75 73 74 61 72 20 20 | 00 77 69 6c 66 00 00 00 |.ustar |.wilf...|
|00004b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00004b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00004c00| 0a 2f 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |./******|********|
|00004c10| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004c20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00004c30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 0a 43 6f |********|*****.Co|
|00004c40| 70 79 72 69 67 68 74 20 | 31 39 39 30 2c 20 62 79 |pyright |1990, by|
|00004c50| 20 41 6c 66 61 6c 66 61 | 20 53 6f 66 74 77 61 72 | Alfalfa| Softwar|
|00004c60| 65 20 49 6e 63 6f 72 70 | 6f 72 61 74 65 64 2c 20 |e Incorp|orated, |
|00004c70| 43 61 6d 62 72 69 64 67 | 65 2c 20 4d 61 73 73 61 |Cambridg|e, Massa|
|00004c80| 63 68 75 73 65 74 74 73 | 2e 0a 0a 20 20 20 20 20 |chusetts|... |
|00004c90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004ca0| 20 20 20 41 6c 6c 20 52 | 69 67 68 74 73 20 52 65 | All R|ights Re|
|00004cb0| 73 65 72 76 65 64 0a 0a | 50 65 72 6d 69 73 73 69 |served..|Permissi|
|00004cc0| 6f 6e 20 74 6f 20 75 73 | 65 2c 20 63 6f 70 79 2c |on to us|e, copy,|
|00004cd0| 20 6d 6f 64 69 66 79 2c | 20 61 6e 64 20 64 69 73 | modify,| and dis|
|00004ce0| 74 72 69 62 75 74 65 20 | 74 68 69 73 20 73 6f 66 |tribute |this sof|
|00004cf0| 74 77 61 72 65 20 61 6e | 64 20 69 74 73 0a 64 6f |tware an|d its.do|
|00004d00| 63 75 6d 65 6e 74 61 74 | 69 6f 6e 20 66 6f 72 20 |cumentat|ion for |
|00004d10| 61 6e 79 20 70 75 72 70 | 6f 73 65 20 61 6e 64 20 |any purp|ose and |
|00004d20| 77 69 74 68 6f 75 74 20 | 66 65 65 20 69 73 20 68 |without |fee is h|
|00004d30| 65 72 65 62 79 20 67 72 | 61 6e 74 65 64 2c 0a 70 |ereby gr|anted,.p|
|00004d40| 72 6f 76 69 64 65 64 20 | 74 68 61 74 20 74 68 65 |rovided |that the|
|00004d50| 20 61 62 6f 76 65 20 63 | 6f 70 79 72 69 67 68 74 | above c|opyright|
|00004d60| 20 6e 6f 74 69 63 65 20 | 61 70 70 65 61 72 20 69 | notice |appear i|
|00004d70| 6e 20 61 6c 6c 20 63 6f | 70 69 65 73 20 61 6e 64 |n all co|pies and|
|00004d80| 20 74 68 61 74 0a 62 6f | 74 68 20 74 68 61 74 20 | that.bo|th that |
|00004d90| 63 6f 70 79 72 69 67 68 | 74 20 6e 6f 74 69 63 65 |copyrigh|t notice|
|00004da0| 20 61 6e 64 20 74 68 69 | 73 20 70 65 72 6d 69 73 | and thi|s permis|
|00004db0| 73 69 6f 6e 20 6e 6f 74 | 69 63 65 20 61 70 70 65 |sion not|ice appe|
|00004dc0| 61 72 20 69 6e 0a 73 75 | 70 70 6f 72 74 69 6e 67 |ar in.su|pporting|
|00004dd0| 20 64 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 2c 20 | documen|tation, |
|00004de0| 61 6e 64 20 74 68 61 74 | 20 41 6c 66 61 6c 66 61 |and that| Alfalfa|
|00004df0| 27 73 20 6e 61 6d 65 20 | 6e 6f 74 20 62 65 20 75 |'s name |not be u|
|00004e00| 73 65 64 20 69 6e 0a 61 | 64 76 65 72 74 69 73 69 |sed in.a|dvertisi|
|00004e10| 6e 67 20 6f 72 20 70 75 | 62 6c 69 63 69 74 79 20 |ng or pu|blicity |
|00004e20| 70 65 72 74 61 69 6e 69 | 6e 67 20 74 6f 20 64 69 |pertaini|ng to di|
|00004e30| 73 74 72 69 62 75 74 69 | 6f 6e 20 6f 66 20 74 68 |stributi|on of th|
|00004e40| 65 20 73 6f 66 74 77 61 | 72 65 0a 77 69 74 68 6f |e softwa|re.witho|
|00004e50| 75 74 20 73 70 65 63 69 | 66 69 63 2c 20 77 72 69 |ut speci|fic, wri|
|00004e60| 74 74 65 6e 20 70 72 69 | 6f 72 20 70 65 72 6d 69 |tten pri|or permi|
|00004e70| 73 73 69 6f 6e 2e 0a 0a | 41 4c 50 48 41 4c 50 48 |ssion...|ALPHALPH|
|00004e80| 41 20 44 49 53 43 4c 41 | 49 4d 53 20 41 4c 4c 20 |A DISCLA|IMS ALL |
|00004e90| 57 41 52 52 41 4e 54 49 | 45 53 20 57 49 54 48 20 |WARRANTI|ES WITH |
|00004ea0| 52 45 47 41 52 44 20 54 | 4f 20 54 48 49 53 20 53 |REGARD T|O THIS S|
|00004eb0| 4f 46 54 57 41 52 45 2c | 20 49 4e 43 4c 55 44 49 |OFTWARE,| INCLUDI|
|00004ec0| 4e 47 0a 41 4c 4c 20 49 | 4d 50 4c 49 45 44 20 57 |NG.ALL I|MPLIED W|
|00004ed0| 41 52 52 41 4e 54 49 45 | 53 20 4f 46 20 4d 45 52 |ARRANTIE|S OF MER|
|00004ee0| 43 48 41 4e 54 41 42 49 | 4c 49 54 59 20 41 4e 44 |CHANTABI|LITY AND|
|00004ef0| 20 46 49 54 4e 45 53 53 | 2c 20 49 4e 20 4e 4f 20 | FITNESS|, IN NO |
|00004f00| 45 56 45 4e 54 20 53 48 | 41 4c 4c 0a 41 4c 50 48 |EVENT SH|ALL.ALPH|
|00004f10| 41 4c 50 48 41 20 42 45 | 20 4c 49 41 42 4c 45 20 |ALPHA BE| LIABLE |
|00004f20| 46 4f 52 20 41 4e 59 20 | 53 50 45 43 49 41 4c 2c |FOR ANY |SPECIAL,|
|00004f30| 20 49 4e 44 49 52 45 43 | 54 20 4f 52 20 43 4f 4e | INDIREC|T OR CON|
|00004f40| 53 45 51 55 45 4e 54 49 | 41 4c 20 44 41 4d 41 47 |SEQUENTI|AL DAMAG|
|00004f50| 45 53 20 4f 52 0a 41 4e | 59 20 44 41 4d 41 47 45 |ES OR.AN|Y DAMAGE|
|00004f60| 53 20 57 48 41 54 53 4f | 45 56 45 52 20 52 45 53 |S WHATSO|EVER RES|
|00004f70| 55 4c 54 49 4e 47 20 46 | 52 4f 4d 20 4c 4f 53 53 |ULTING F|ROM LOSS|
|00004f80| 20 4f 46 20 55 53 45 2c | 20 44 41 54 41 20 4f 52 | OF USE,| DATA OR|
|00004f90| 20 50 52 4f 46 49 54 53 | 2c 0a 57 48 45 54 48 45 | PROFITS|,.WHETHE|
|00004fa0| 52 20 49 4e 20 41 4e 20 | 41 43 54 49 4f 4e 20 4f |R IN AN |ACTION O|
|00004fb0| 46 20 43 4f 4e 54 52 41 | 43 54 2c 20 4e 45 47 4c |F CONTRA|CT, NEGL|
|00004fc0| 49 47 45 4e 43 45 20 4f | 52 20 4f 54 48 45 52 20 |IGENCE O|R OTHER |
|00004fd0| 54 4f 52 54 49 4f 55 53 | 20 41 43 54 49 4f 4e 2c |TORTIOUS| ACTION,|
|00004fe0| 0a 41 52 49 53 49 4e 47 | 20 4f 55 54 20 4f 46 20 |.ARISING| OUT OF |
|00004ff0| 4f 52 20 49 4e 20 43 4f | 4e 4e 45 43 54 49 4f 4e |OR IN CO|NNECTION|
|00005000| 20 57 49 54 48 20 54 48 | 45 20 55 53 45 20 4f 52 | WITH TH|E USE OR|
|00005010| 20 50 45 52 46 4f 52 4d | 41 4e 43 45 20 4f 46 20 | PERFORM|ANCE OF |
|00005020| 54 48 49 53 0a 53 4f 46 | 54 57 41 52 45 2e 0a 0a |THIS.SOF|TWARE...|
|00005030| 49 66 20 79 6f 75 20 6d | 61 6b 65 20 61 6e 79 20 |If you m|ake any |
|00005040| 6d 6f 64 69 66 69 63 61 | 74 69 6f 6e 73 2c 20 62 |modifica|tions, b|
|00005050| 75 67 66 69 78 65 73 20 | 6f 72 20 6f 74 68 65 72 |ugfixes |or other|
|00005060| 20 63 68 61 6e 67 65 73 | 20 74 6f 20 74 68 69 73 | changes| to this|
|00005070| 20 73 6f 66 74 77 61 72 | 65 0a 77 65 27 64 20 61 | softwar|e.we'd a|
|00005080| 70 70 72 65 63 69 61 74 | 65 20 69 74 20 69 66 20 |ppreciat|e it if |
|00005090| 79 6f 75 20 63 6f 75 6c | 64 20 73 65 6e 64 20 61 |you coul|d send a|
|000050a0| 20 63 6f 70 79 20 74 6f | 20 75 73 20 73 6f 20 77 | copy to| us so w|
|000050b0| 65 20 63 61 6e 20 6b 65 | 65 70 20 74 68 69 6e 67 |e can ke|ep thing|
|000050c0| 73 0a 75 70 2d 74 6f 2d | 64 61 74 65 2e 20 20 4d |s.up-to-|date. M|
|000050d0| 61 6e 79 20 74 68 61 6e | 6b 73 2e 0a 09 09 09 09 |any than|ks......|
|000050e0| 4b 65 65 20 48 69 6e 63 | 6b 6c 65 79 0a 09 09 09 |Kee Hinc|kley....|
|000050f0| 09 41 6c 66 61 6c 66 61 | 20 53 6f 66 74 77 61 72 |.Alfalfa| Softwar|
|00005100| 65 2c 20 49 6e 63 2e 0a | 09 09 09 09 32 36 37 20 |e, Inc..|....267 |
|00005110| 41 6c 6c 73 74 6f 6e 20 | 53 74 2e 2c 20 23 33 0a |Allston |St., #3.|
|00005120| 09 09 09 09 43 61 6d 62 | 72 69 64 67 65 2c 20 4d |....Camb|ridge, M|
|00005130| 41 20 30 32 31 33 39 20 | 20 55 53 41 0a 09 09 09 |A 02139 | USA....|
|00005140| 09 6e 61 7a 67 75 6c 40 | 61 6c 66 61 6c 66 61 2e |.nazgul@|alfalfa.|
|00005150| 63 6f 6d 0a 20 20 20 20 | 0a 2a 2a 2a 2a 2a 2a 2a |com. |.*******|
|00005160| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005180| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005190| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2f 0a 0a 2f 2a |********|***/../*|
|000051a0| 20 45 64 69 74 20 48 69 | 73 74 6f 72 79 0a 0a 30 | Edit Hi|story..0|
|000051b0| 32 2f 32 35 2f 39 31 20 | 20 20 32 20 6e 61 7a 67 |2/25/91 | 2 nazg|
|000051c0| 75 6c 09 41 64 64 65 64 | 20 4d 43 47 65 74 42 79 |ul.Added| MCGetBy|
|000051d0| 74 65 4f 72 64 65 72 0a | 30 31 2f 31 38 2f 39 31 |teOrder.|01/18/91|
|000051e0| 20 20 20 32 20 68 61 6d | 69 6c 74 6f 6e 09 23 69 | 2 ham|ilton.#i|
|000051f0| 66 20 6e 6f 74 20 72 65 | 70 61 72 73 65 64 0a 30 |f not re|parsed.0|
|00005200| 31 2f 31 32 2f 39 31 20 | 20 20 32 20 73 63 68 75 |1/12/91 | 2 schu|
|00005210| 6c 65 72 74 09 63 6f 6e | 64 69 74 69 6f 6e 61 6c |lert.con|ditional|
|00005220| 6c 79 20 75 73 65 20 70 | 72 6f 74 6f 74 79 70 65 |ly use p|rototype|
|00005230| 73 0a 31 31 2f 30 33 2f | 39 30 20 20 20 31 20 68 |s.11/03/|90 1 h|
|00005240| 61 6d 69 6c 74 6f 6e 09 | 41 6c 70 68 61 6c 70 68 |amilton.|Alphalph|
|00005250| 61 2d 3e 41 6c 66 61 6c | 66 61 20 26 20 4f 6d 65 |a->Alfal|fa & Ome|
|00005260| 67 61 4d 61 69 6c 2d 3e | 50 6f 73 74 65 0a 30 38 |gaMail->|Poste.08|
|00005270| 2f 31 33 2f 39 30 20 20 | 20 31 20 73 63 68 75 6c |/13/90 | 1 schul|
|00005280| 65 72 74 09 6d 6f 76 65 | 20 66 72 6f 6d 20 75 61 |ert.move| from ua|
|00005290| 20 74 6f 20 6f 6d 75 0a | 2a 2f 0a 0a 23 69 66 6e | to omu.|*/..#ifn|
|000052a0| 64 65 66 20 67 65 6e 63 | 61 74 5f 68 0a 23 64 65 |def genc|at_h.#de|
|000052b0| 66 69 6e 65 20 67 65 6e | 63 61 74 5f 68 0a 0a 2f |fine gen|cat_h../|
|000052c0| 2a 0a 20 2a 20 24 73 65 | 74 20 6e 20 63 6f 6d 6d |*. * $se|t n comm|
|000052d0| 65 6e 74 0a 20 2a 09 4d | 79 20 65 78 74 65 6e 73 |ent. *.M|y extens|
|000052e0| 69 6f 6e 3a 20 20 49 66 | 20 74 68 65 20 63 6f 6d |ion: If| the com|
|000052f0| 6d 65 6e 74 20 62 65 67 | 69 6e 73 20 77 69 74 68 |ment beg|ins with|
|00005300| 20 23 20 74 72 65 61 74 | 20 74 68 65 20 6e 65 78 | # treat| the nex|
|00005310| 74 20 73 74 72 69 6e 67 | 0a 20 2a 09 20 61 73 20 |t string|. *. as |
|00005320| 61 20 63 6f 6e 73 74 61 | 6e 74 20 69 64 65 6e 74 |a consta|nt ident|
|00005330| 69 66 69 65 72 2e 0a 20 | 2a 20 24 64 65 6c 73 65 |ifier.. |* $delse|
|00005340| 74 20 6e 20 63 6f 6d 6d | 65 6e 74 0a 20 2a 09 6e |t n comm|ent. *.n|
|00005350| 20 67 6f 65 73 20 66 72 | 6f 6d 20 31 20 74 6f 20 | goes fr|om 1 to |
|00005360| 4e 4c 5f 53 45 54 4d 41 | 58 0a 20 2a 09 44 65 6c |NL_SETMA|X. *.Del|
|00005370| 65 74 65 73 20 61 20 73 | 65 74 20 66 72 6f 6d 20 |etes a s|et from |
|00005380| 74 68 65 20 4d 43 0a 20 | 2a 20 24 20 63 6f 6d 6d |the MC. |* $ comm|
|00005390| 65 6e 74 0a 20 2a 09 4d | 79 20 65 78 74 65 6e 73 |ent. *.M|y extens|
|000053a0| 69 6f 6e 3a 20 20 49 66 | 20 63 6f 6d 6d 65 6e 74 |ion: If| comment|
|000053b0| 20 62 65 67 69 6e 73 20 | 77 69 74 68 20 23 20 74 | begins |with # t|
|000053c0| 72 65 61 74 20 74 68 65 | 20 6e 65 78 74 20 73 74 |reat the| next st|
|000053d0| 72 69 6e 67 20 61 73 0a | 20 2a 09 20 61 20 63 6f |ring as.| *. a co|
|000053e0| 6e 73 74 61 6e 74 20 69 | 64 65 6e 74 69 66 69 65 |nstant i|dentifie|
|000053f0| 72 20 66 6f 72 20 74 68 | 65 20 6e 65 78 74 20 6d |r for th|e next m|
|00005400| 65 73 73 61 67 65 2e 0a | 20 2a 20 6d 20 6d 65 73 |essage..| * m mes|
|00005410| 73 61 67 65 2d 74 65 78 | 74 0a 20 2a 09 6d 20 67 |sage-tex|t. *.m g|
|00005420| 6f 65 73 20 66 72 6f 6d | 20 31 20 74 6f 20 4e 4c |oes from| 1 to NL|
|00005430| 5f 4d 53 47 4d 41 58 0a | 20 2a 09 49 66 20 6d 65 |_MSGMAX.| *.If me|
|00005440| 73 73 61 67 65 2d 74 65 | 78 74 20 69 73 20 65 6d |ssage-te|xt is em|
|00005450| 70 74 79 2c 20 61 6e 64 | 20 61 20 73 70 61 63 65 |pty, and| a space|
|00005460| 20 6f 72 20 74 61 62 20 | 69 73 20 70 72 65 73 65 | or tab |is prese|
|00005470| 6e 74 2c 20 70 75 74 0a | 20 2a 09 20 65 6d 70 74 |nt, put.| *. empt|
|00005480| 79 20 73 74 72 69 6e 67 | 20 69 6e 20 63 61 74 61 |y string| in cata|
|00005490| 6c 6f 67 2e 0a 20 2a 09 | 49 66 20 6d 65 73 73 61 |log.. *.|If messa|
|000054a0| 67 65 2d 74 65 78 74 20 | 69 73 20 65 6d 70 74 79 |ge-text |is empty|
|000054b0| 2c 20 64 65 6c 65 74 65 | 20 74 68 65 20 6d 65 73 |, delete| the mes|
|000054c0| 73 61 67 65 2e 0a 20 2a | 09 4c 65 6e 67 74 68 20 |sage.. *|.Length |
|000054d0| 6f 66 20 74 65 78 74 20 | 69 73 20 30 20 74 6f 20 |of text |is 0 to |
|000054e0| 4e 4c 5f 54 45 58 54 4d | 41 58 0a 20 2a 09 4d 79 |NL_TEXTM|AX. *.My|
|000054f0| 20 65 78 74 65 6e 73 69 | 6f 6e 3a 20 20 49 66 20 | extensi|on: If |
|00005500| 27 23 27 20 69 73 20 75 | 73 65 64 20 69 6e 73 74 |'#' is u|sed inst|
|00005510| 65 61 64 20 6f 66 20 61 | 20 6e 75 6d 62 65 72 2c |ead of a| number,|
|00005520| 20 74 68 65 20 6e 75 6d | 62 65 72 0a 20 2a 09 20 | the num|ber. *. |
|00005530| 69 73 20 67 65 6e 65 72 | 61 74 65 64 20 61 75 74 |is gener|ated aut|
|00005540| 6f 6d 61 74 69 63 61 6c | 6c 79 2e 20 20 41 20 23 |omatical|ly. A #|
|00005550| 20 66 6f 6c 6c 6f 77 65 | 64 20 62 79 20 61 6e 79 | followe|d by any|
|00005560| 74 68 69 6e 67 20 69 73 | 20 61 6e 20 65 6d 70 74 |thing is| an empt|
|00005570| 79 20 6d 65 73 73 61 67 | 65 2e 0a 20 2a 20 24 71 |y messag|e.. * $q|
|00005580| 75 6f 74 65 20 63 0a 20 | 2a 09 4f 70 74 69 6f 6e |uote c. |*.Option|
|00005590| 61 6c 20 71 75 6f 74 65 | 20 63 68 61 72 61 63 74 |al quote| charact|
|000055a0| 65 72 20 77 68 69 63 68 | 20 63 61 6e 20 73 75 72 |er which| can sur|
|000055b0| 6f 75 6e 64 20 6d 65 73 | 73 61 67 65 2d 74 65 78 |ound mes|sage-tex|
|000055c0| 74 20 74 6f 20 0a 20 2a | 09 20 73 68 6f 77 20 77 |t to . *|. show w|
|000055d0| 68 65 72 65 20 73 70 61 | 63 65 73 20 61 72 65 2e |here spa|ces are.|
|000055e0| 0a 20 2a 0a 20 2a 20 45 | 73 63 61 70 65 20 43 68 |. *. * E|scape Ch|
|000055f0| 61 72 61 63 74 65 72 73 | 0a 20 2a 09 5c 6e 20 28 |aracters|. *.\n (|
|00005600| 6e 65 77 6c 69 6e 65 29 | 2c 20 5c 74 20 28 68 6f |newline)|, \t (ho|
|00005610| 72 69 7a 20 74 61 62 29 | 2c 20 5c 76 20 28 76 65 |riz tab)|, \v (ve|
|00005620| 72 74 20 74 61 62 29 2c | 20 5c 62 20 28 62 61 63 |rt tab),| \b (bac|
|00005630| 6b 73 70 61 63 65 29 2c | 0a 20 2a 09 5c 72 20 28 |kspace),|. *.\r (|
|00005640| 63 61 72 72 69 61 67 65 | 20 72 65 74 75 72 6e 29 |carriage| return)|
|00005650| 2c 20 5c 66 20 28 66 6f | 72 6d 66 65 65 64 29 2c |, \f (fo|rmfeed),|
|00005660| 20 5c 5c 20 28 62 61 63 | 6b 73 6c 61 73 68 29 2c | \\ (bac|kslash),|
|00005670| 20 5c 64 64 64 20 28 62 | 69 74 70 61 74 74 65 72 | \ddd (b|itpatter|
|00005680| 6e 0a 20 2a 09 69 6e 20 | 6f 63 74 61 6c 29 2e 0a |n. *.in |octal)..|
|00005690| 20 2a 09 41 6c 73 6f 2c | 20 5c 20 61 74 20 65 6e | *.Also,| \ at en|
|000056a0| 64 20 6f 66 20 6c 69 6e | 65 20 69 73 20 61 20 63 |d of lin|e is a c|
|000056b0| 6f 6e 74 69 6e 75 61 74 | 69 6f 6e 2e 0a 20 2a 0a |ontinuat|ion.. *.|
|000056c0| 20 2a 2f 0a 0a 23 64 65 | 66 69 6e 65 09 4d 43 4c | */..#de|fine.MCL|
|000056d0| 61 6e 67 43 09 09 30 0a | 23 64 65 66 69 6e 65 20 |angC..0.|#define |
|000056e0| 4d 43 4c 61 6e 67 43 50 | 6c 75 73 50 6c 75 73 09 |MCLangCP|lusPlus.|
|000056f0| 31 0a 23 64 65 66 69 6e | 65 20 4d 43 4c 61 6e 67 |1.#defin|e MCLang|
|00005700| 41 4e 53 49 43 09 32 0a | 0a 23 64 65 66 69 6e 65 |ANSIC.2.|.#define|
|00005710| 20 4d 41 58 54 4f 4b 45 | 4e 09 31 30 32 34 0a 0a | MAXTOKE|N.1024..|
|00005720| 23 69 66 20 21 64 65 66 | 69 6e 65 64 28 41 4e 53 |#if !def|ined(ANS|
|00005730| 49 5f 43 29 20 26 26 20 | 28 64 65 66 69 6e 65 64 |I_C) && |(defined|
|00005740| 28 5f 5f 53 54 44 43 5f | 5f 29 20 7c 7c 20 64 65 |(__STDC_|_) || de|
|00005750| 66 69 6e 65 64 28 5f 41 | 49 58 29 29 0a 23 20 64 |fined(_A|IX)).# d|
|00005760| 65 66 69 6e 65 20 41 4e | 53 49 5f 43 20 31 0a 23 |efine AN|SI_C 1.#|
|00005770| 65 6e 64 69 66 0a 0a 23 | 69 66 20 41 4e 53 49 5f |endif..#|if ANSI_|
|00005780| 43 20 7c 7c 20 64 65 66 | 69 6e 65 64 28 5f 5f 63 |C || def|ined(__c|
|00005790| 70 6c 75 73 70 6c 75 73 | 29 0a 23 20 64 65 66 69 |plusplus|).# defi|
|000057a0| 6e 65 20 50 5f 28 78 29 | 20 78 0a 23 65 6c 73 65 |ne P_(x)| x.#else|
|000057b0| 0a 23 20 64 65 66 69 6e | 65 20 50 5f 28 78 29 20 |.# defin|e P_(x) |
|000057c0| 2f 2a 2a 2f 0a 23 65 6e | 64 69 66 0a 0a 65 78 74 |/**/.#en|dif..ext|
|000057d0| 65 72 6e 20 76 6f 69 64 | 20 4d 43 41 64 64 53 65 |ern void| MCAddSe|
|000057e0| 74 20 50 5f 28 28 69 6e | 74 20 73 65 74 49 64 2c |t P_((in|t setId,|
|000057f0| 20 63 68 61 72 20 2a 63 | 29 29 3b 0a 65 78 74 65 | char *c|));.exte|
|00005800| 72 6e 20 76 6f 69 64 20 | 4d 43 44 65 6c 53 65 74 |rn void |MCDelSet|
|00005810| 20 50 5f 28 28 69 6e 74 | 20 73 65 74 49 64 29 29 | P_((int| setId))|
|00005820| 3b 0a 65 78 74 65 72 6e | 20 76 6f 69 64 20 4d 43 |;.extern| void MC|
|00005830| 41 64 64 4d 73 67 20 50 | 5f 28 28 69 6e 74 20 6d |AddMsg P|_((int m|
|00005840| 73 67 49 64 2c 20 63 68 | 61 72 20 2a 6d 73 67 2c |sgId, ch|ar *msg,|
|00005850| 20 63 68 61 72 20 2a 63 | 29 29 3b 0a 65 78 74 65 | char *c|));.exte|
|00005860| 72 6e 20 76 6f 69 64 20 | 4d 43 44 65 6c 4d 73 67 |rn void |MCDelMsg|
|00005870| 20 50 5f 28 28 69 6e 74 | 20 6d 73 67 49 64 29 29 | P_((int| msgId))|
|00005880| 3b 0a 65 78 74 65 72 6e | 20 76 6f 69 64 20 4d 43 |;.extern| void MC|
|00005890| 50 61 72 73 65 20 50 5f | 28 28 69 6e 74 20 66 64 |Parse P_|((int fd|
|000058a0| 29 29 3b 0a 65 78 74 65 | 72 6e 20 76 6f 69 64 20 |));.exte|rn void |
|000058b0| 4d 43 52 65 61 64 43 61 | 74 20 50 5f 28 28 69 6e |MCReadCa|t P_((in|
|000058c0| 74 20 66 64 29 29 3b 0a | 65 78 74 65 72 6e 20 76 |t fd));.|extern v|
|000058d0| 6f 69 64 20 4d 43 57 72 | 69 74 65 43 6f 6e 73 74 |oid MCWr|iteConst|
|000058e0| 20 50 5f 28 28 69 6e 74 | 20 66 64 2c 20 69 6e 74 | P_((int| fd, int|
|000058f0| 20 74 79 70 65 2c 20 69 | 6e 74 20 6f 72 43 6f 6e | type, i|nt orCon|
|00005900| 73 74 73 29 29 3b 0a 65 | 78 74 65 72 6e 20 76 6f |sts));.e|xtern vo|
|00005910| 69 64 20 4d 43 57 72 69 | 74 65 43 61 74 20 50 5f |id MCWri|teCat P_|
|00005920| 28 28 69 6e 74 20 66 64 | 29 29 3b 0a 65 78 74 65 |((int fd|));.exte|
|00005930| 72 6e 20 6c 6f 6e 67 20 | 4d 43 47 65 74 42 79 74 |rn long |MCGetByt|
|00005940| 65 4f 72 64 65 72 20 50 | 5f 28 28 76 6f 69 64 29 |eOrder P|_((void)|
|00005950| 29 3b 0a 0a 23 69 66 6e | 64 65 66 20 54 72 75 65 |);..#ifn|def True|
|00005960| 0a 23 20 64 65 66 69 6e | 65 20 54 72 75 65 20 09 |.# defin|e True .|
|00005970| 7e 30 0a 23 20 64 65 66 | 69 6e 65 20 46 61 6c 73 |~0.# def|ine Fals|
|00005980| 65 09 30 0a 23 65 6e 64 | 69 66 0a 0a 23 65 6e 64 |e.0.#end|if..#end|
|00005990| 69 66 0a 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |if......|........|
|000059a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000059f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a00| 6d 61 6e 5f 64 62 2d 32 | 2e 33 2e 31 30 2f 67 65 |man_db-2|.3.10/ge|
|00005a10| 6e 63 61 74 2f 67 65 6e | 6c 69 62 2e 63 00 00 00 |ncat/gen|lib.c...|
|00005a20| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005a60| 00 00 00 00 31 30 30 36 | 34 34 20 00 20 20 20 36 |....1006|44 . 6|
|00005a70| 32 35 20 00 20 20 20 20 | 20 36 20 00 20 20 20 20 |25 . | 6 . |
|00005a80| 20 20 34 36 32 34 31 20 | 20 35 37 33 35 36 33 30 | 46241 | 5735630|
|00005a90| 33 35 35 20 20 31 34 32 | 32 32 00 20 30 00 00 00 |355 142|22. 0...|
|00005aa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ab0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ac0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ad0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ae0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005af0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b00| 00 75 73 74 61 72 20 20 | 00 77 69 6c 66 00 00 00 |.ustar |.wilf...|
|00005b10| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b20| 00 00 00 00 00 00 00 00 | 00 75 73 65 72 73 00 00 |........|.users..|
|00005b30| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b40| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b50| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b60| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b70| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b80| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005b90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005ba0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bb0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bc0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bd0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005be0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005bf0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00005c00| 2f 2a 20 2d 2a 2d 63 2b | 2b 2d 2a 2d 20 2a 2f 0a |/* -*-c+|+-*- */.|
|00005c10| 0a 0a 2f 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |../*****|********|
|00005c20| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005c30| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00005c40| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 0a 43 |********|******.C|
|00005c50| 6f 70 79 72 69 67 68 74 | 20 31 39 39 30 2c 20 62 |opyright| 1990, b|
|00005c60| 79 20 41 6c 66 61 6c 66 | 61 20 53 6f 66 74 77 61 |y Alfalf|a Softwa|
|00005c70| 72 65 20 49 6e 63 6f 72 | 70 6f 72 61 74 65 64 2c |re Incor|porated,|
|00005c80| 20 43 61 6d 62 72 69 64 | 67 65 2c 20 4d 61 73 73 | Cambrid|ge, Mass|
|00005c90| 61 63 68 75 73 65 74 74 | 73 2e 0a 0a 20 20 20 20 |achusett|s... |
|00005ca0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00005cb0| 20 20 20 20 41 6c 6c 20 | 52 69 67 68 74 73 20 52 | All |Rights R|
|00005cc0| 65 73 65 72 76 65 64 0a | 0a 50 65 72 6d 69 73 73 |eserved.|.Permiss|
|00005cd0| 69 6f 6e 20 74 6f 20 75 | 73 65 2c 20 63 6f 70 79 |ion to u|se, copy|
|00005ce0| 2c 20 6d 6f 64 69 66 79 | 2c 20 61 6e 64 20 64 69 |, modify|, and di|
|00005cf0| 73 74 72 69 62 75 74 65 | 20 74 68 69 73 20 73 6f |stribute| this so|
|00005d00| 66 74 77 61 72 65 20 61 | 6e 64 20 69 74 73 0a 64 |ftware a|nd its.d|
|00005d10| 6f 63 75 6d 65 6e 74 61 | 74 69 6f 6e 20 66 6f 72 |ocumenta|tion for|
|00005d20| 20 61 6e 79 20 70 75 72 | 70 6f 73 65 20 61 6e 64 | any pur|pose and|
|00005d30| 20 77 69 74 68 6f 75 74 | 20 66 65 65 20 69 73 20 | without| fee is |
|00005d40| 68 65 72 65 62 79 20 67 | 72 61 6e 74 65 64 2c 0a |hereby g|ranted,.|
|00005d50| 70 72 6f 76 69 64 65 64 | 20 74 68 61 74 20 74 68 |provided| that th|
|00005d60| 65 20 61 62 6f 76 65 20 | 63 6f 70 79 72 69 67 68 |e above |copyrigh|
|00005d70| 74 20 6e 6f 74 69 63 65 | 20 61 70 70 65 61 72 20 |t notice| appear |
|00005d80| 69 6e 20 61 6c 6c 20 63 | 6f 70 69 65 73 20 61 6e |in all c|opies an|
|00005d90| 64 20 74 68 61 74 0a 62 | 6f 74 68 20 74 68 61 74 |d that.b|oth that|
|00005da0| 20 63 6f 70 79 72 69 67 | 68 74 20 6e 6f 74 69 63 | copyrig|ht notic|
|00005db0| 65 20 61 6e 64 20 74 68 | 69 73 20 70 65 72 6d 69 |e and th|is permi|
|00005dc0| 73 73 69 6f 6e 20 6e 6f | 74 69 63 65 20 61 70 70 |ssion no|tice app|
|00005dd0| 65 61 72 20 69 6e 0a 73 | 75 70 70 6f 72 74 69 6e |ear in.s|upportin|
|00005de0| 67 20 64 6f 63 75 6d 65 | 6e 74 61 74 69 6f 6e 2c |g docume|ntation,|
|00005df0| 20 61 6e 64 20 74 68 61 | 74 20 41 6c 66 61 6c 66 | and tha|t Alfalf|
|00005e00| 61 27 73 20 6e 61 6d 65 | 20 6e 6f 74 20 62 65 20 |a's name| not be |
|00005e10| 75 73 65 64 20 69 6e 0a | 61 64 76 65 72 74 69 73 |used in.|advertis|
|00005e20| 69 6e 67 20 6f 72 20 70 | 75 62 6c 69 63 69 74 79 |ing or p|ublicity|
|00005e30| 20 70 65 72 74 61 69 6e | 69 6e 67 20 74 6f 20 64 | pertain|ing to d|
|00005e40| 69 73 74 72 69 62 75 74 | 69 6f 6e 20 6f 66 20 74 |istribut|ion of t|
|00005e50| 68 65 20 73 6f 66 74 77 | 61 72 65 0a 77 69 74 68 |he softw|are.with|
|00005e60| 6f 75 74 20 73 70 65 63 | 69 66 69 63 2c 20 77 72 |out spec|ific, wr|
|00005e70| 69 74 74 65 6e 20 70 72 | 69 6f 72 20 70 65 72 6d |itten pr|ior perm|
|00005e80| 69 73 73 69 6f 6e 2e 0a | 0a 41 4c 50 48 41 4c 50 |ission..|.ALPHALP|
|00005e90| 48 41 20 44 49 53 43 4c | 41 49 4d 53 20 41 4c 4c |HA DISCL|AIMS ALL|
|00005ea0| 20 57 41 52 52 41 4e 54 | 49 45 53 20 57 49 54 48 | WARRANT|IES WITH|
|00005eb0| 20 52 45 47 41 52 44 20 | 54 4f 20 54 48 49 53 20 | REGARD |TO THIS |
|00005ec0| 53 4f 46 54 57 41 52 45 | 2c 20 49 4e 43 4c 55 44 |SOFTWARE|, INCLUD|
|00005ed0| 49 4e 47 0a 41 4c 4c 20 | 49 4d 50 4c 49 45 44 20 |ING.ALL |IMPLIED |
|00005ee0| 57 41 52 52 41 4e 54 49 | 45 53 20 4f 46 20 4d 45 |WARRANTI|ES OF ME|
|00005ef0| 52 43 48 41 4e 54 41 42 | 49 4c 49 54 59 20 41 4e |RCHANTAB|ILITY AN|
|00005f00| 44 20 46 49 54 4e 45 53 | 53 2c 20 49 4e 20 4e 4f |D FITNES|S, IN NO|
|00005f10| 20 45 56 45 4e 54 20 53 | 48 41 4c 4c 0a 41 4c 50 | EVENT S|HALL.ALP|
|00005f20| 48 41 4c 50 48 41 20 42 | 45 20 4c 49 41 42 4c 45 |HALPHA B|E LIABLE|
|00005f30| 20 46 4f 52 20 41 4e 59 | 20 53 50 45 43 49 41 4c | FOR ANY| SPECIAL|
|00005f40| 2c 20 49 4e 44 49 52 45 | 43 54 20 4f 52 20 43 4f |, INDIRE|CT OR CO|
|00005f50| 4e 53 45 51 55 45 4e 54 | 49 41 4c 20 44 41 4d 41 |NSEQUENT|IAL DAMA|
|00005f60| 47 45 53 20 4f 52 0a 41 | 4e 59 20 44 41 4d 41 47 |GES OR.A|NY DAMAG|
|00005f70| 45 53 20 57 48 41 54 53 | 4f 45 56 45 52 20 52 45 |ES WHATS|OEVER RE|
|00005f80| 53 55 4c 54 49 4e 47 20 | 46 52 4f 4d 20 4c 4f 53 |SULTING |FROM LOS|
|00005f90| 53 20 4f 46 20 55 53 45 | 2c 20 44 41 54 41 20 4f |S OF USE|, DATA O|
|00005fa0| 52 20 50 52 4f 46 49 54 | 53 2c 0a 57 48 45 54 48 |R PROFIT|S,.WHETH|
|00005fb0| 45 52 20 49 4e 20 41 4e | 20 41 43 54 49 4f 4e 20 |ER IN AN| ACTION |
|00005fc0| 4f 46 20 43 4f 4e 54 52 | 41 43 54 2c 20 4e 45 47 |OF CONTR|ACT, NEG|
|00005fd0| 4c 49 47 45 4e 43 45 20 | 4f 52 20 4f 54 48 45 52 |LIGENCE |OR OTHER|
|00005fe0| 20 54 4f 52 54 49 4f 55 | 53 20 41 43 54 49 4f 4e | TORTIOU|S ACTION|
|00005ff0| 2c 0a 41 52 49 53 49 4e | 47 20 4f 55 54 20 4f 46 |,.ARISIN|G OUT OF|
|00006000| 20 4f 52 20 49 4e 20 43 | 4f 4e 4e 45 43 54 49 4f | OR IN C|ONNECTIO|
|00006010| 4e 20 57 49 54 48 20 54 | 48 45 20 55 53 45 20 4f |N WITH T|HE USE O|
|00006020| 52 20 50 45 52 46 4f 52 | 4d 41 4e 43 45 20 4f 46 |R PERFOR|MANCE OF|
|00006030| 20 54 48 49 53 0a 53 4f | 46 54 57 41 52 45 2e 0a | THIS.SO|FTWARE..|
|00006040| 0a 49 66 20 79 6f 75 20 | 6d 61 6b 65 20 61 6e 79 |.If you |make any|
|00006050| 20 6d 6f 64 69 66 69 63 | 61 74 69 6f 6e 73 2c 20 | modific|ations, |
|00006060| 62 75 67 66 69 78 65 73 | 20 6f 72 20 6f 74 68 65 |bugfixes| or othe|
|00006070| 72 20 63 68 61 6e 67 65 | 73 20 74 6f 20 74 68 69 |r change|s to thi|
|00006080| 73 20 73 6f 66 74 77 61 | 72 65 0a 77 65 27 64 20 |s softwa|re.we'd |
|00006090| 61 70 70 72 65 63 69 61 | 74 65 20 69 74 20 69 66 |apprecia|te it if|
|000060a0| 20 79 6f 75 20 63 6f 75 | 6c 64 20 73 65 6e 64 20 | you cou|ld send |
|000060b0| 61 20 63 6f 70 79 20 74 | 6f 20 75 73 20 73 6f 20 |a copy t|o us so |
|000060c0| 77 65 20 63 61 6e 20 6b | 65 65 70 20 74 68 69 6e |we can k|eep thin|
|000060d0| 67 73 0a 75 70 2d 74 6f | 2d 64 61 74 65 2e 20 20 |gs.up-to|-date. |
|000060e0| 4d 61 6e 79 20 74 68 61 | 6e 6b 73 2e 0a 09 09 09 |Many tha|nks.....|
|000060f0| 09 4b 65 65 20 48 69 6e | 63 6b 6c 65 79 0a 09 09 |.Kee Hin|ckley...|
|00006100| 09 09 41 6c 66 61 6c 66 | 61 20 53 6f 66 74 77 61 |..Alfalf|a Softwa|
|00006110| 72 65 2c 20 49 6e 63 2e | 0a 09 09 09 09 32 36 37 |re, Inc.|.....267|
|00006120| 20 41 6c 6c 73 74 6f 6e | 20 53 74 2e 2c 20 23 33 | Allston| St., #3|
|00006130| 0a 09 09 09 09 43 61 6d | 62 72 69 64 67 65 2c 20 |.....Cam|bridge, |
|00006140| 4d 41 20 30 32 31 33 39 | 20 20 55 53 41 0a 09 09 |MA 02139| USA...|
|00006150| 09 09 6e 61 7a 67 75 6c | 40 61 6c 66 61 6c 66 61 |..nazgul|@alfalfa|
|00006160| 2e 63 6f 6d 0a 20 20 20 | 20 0a 2a 2a 2a 2a 2a 2a |.com. | .******|
|00006170| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00006180| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|00006190| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2a 2a 2a 2a |********|********|
|000061a0| 2a 2a 2a 2a 2a 2a 2a 2a | 2a 2a 2a 2a 2f 0a 0a 2f |********|****/../|
|000061b0| 2a 20 45 64 69 74 20 48 | 69 73 74 6f 72 79 0a 0a |* Edit H|istory..|
|000061c0| 31 32 2f 30 33 2f 38 32 | 20 20 20 20 20 6e 61 7a |12/03/82| naz|
|000061d0| 67 75 6c 09 50 61 74 63 | 68 20 66 72 6f 6d 20 3c |gul.Patc|h from <|
|000061e0| 4a 61 6e 2e 44 6a 61 72 | 76 40 73 61 2e 65 72 69 |Jan.Djar|v@sa.eri|
|000061f0| 73 6f 66 74 2e 73 65 3e | 2e 20 20 54 68 69 73 20 |soft.se>|. This |
|00006200| 6d 61 79 20 66 69 78 0a | 09 09 09 74 68 65 20 70 |may fix.|...the p|
|00006210| 72 6f 62 6c 65 6d 20 77 | 69 74 68 20 75 70 64 61 |roblem w|ith upda|
|00006220| 74 69 6e 67 20 73 65 74 | 73 2e 0a 31 30 2f 31 38 |ting set|s..10/18|
|00006230| 2f 39 32 20 20 20 33 20 | 73 63 68 75 6c 65 72 74 |/92 3 |schulert|
|00006240| 09 61 63 74 75 61 6c 6c | 79 20 70 75 74 20 69 6e |.actuall|y put in|
|00006250| 20 74 68 65 20 63 68 61 | 6e 67 65 73 20 64 65 73 | the cha|nges des|
|00006260| 63 72 69 62 65 64 20 69 | 6e 20 6c 61 73 74 20 65 |cribed i|n last e|
|00006270| 64 69 74 2e 0a 31 30 2f | 31 38 2f 39 32 20 20 20 |dit..10/|18/92 |
|00006280| 37 20 6e 61 7a 67 75 6c | 09 43 68 61 6e 67 65 73 |7 nazgul|.Changes|
|00006290| 20 66 72 6f 6d 20 67 62 | 6f 6f 6d 61 6e 40 66 65 | from gb|ooman@fe|
|000062a0| 64 73 31 2e 50 72 69 6d | 65 2e 43 4f 4d 20 28 47 |ds1.Prim|e.COM (G|
|000062b0| 6f 72 64 6f 6e 20 42 6f | 6f 6d 61 6e 29 0a 09 09 |ordon Bo|oman)...|
|000062c0| 09 31 29 20 53 75 70 70 | 6f 72 74 20 62 61 63 6b |.1) Supp|ort back|
|000062d0| 73 6c 61 73 68 20 71 75 | 6f 74 65 64 20 71 75 6f |slash qu|oted quo|
|000062e0| 74 65 73 20 69 6e 20 6d | 65 73 73 61 67 65 20 66 |tes in m|essage f|
|000062f0| 69 6c 65 20 74 65 78 74 | 2e 0a 09 09 09 32 29 20 |ile text|.....2) |
|00006300| 43 6f 72 72 65 63 74 6c | 79 20 69 6e 64 69 63 61 |Correctl|y indica|
|00006310| 74 65 20 65 72 72 6f 72 | 20 6c 6f 63 61 74 69 6f |te error| locatio|
|00006320| 6e 20 69 6e 20 6d 65 73 | 73 61 67 65 73 20 74 68 |n in mes|sages th|
|00006330| 61 74 20 68 61 76 65 20 | 74 61 62 73 2e 0a 09 09 |at have |tabs....|
|00006340| 09 33 29 20 46 69 78 65 | 64 20 61 20 6d 69 73 73 |.3) Fixe|d a miss|
|00006350| 70 65 6c 6c 69 6e 67 2e | 0a 30 34 2f 31 35 2f 39 |pelling.|.04/15/9|
|00006360| 31 20 20 20 36 20 6e 61 | 7a 67 75 6c 09 43 68 65 |1 6 na|zgul.Che|
|00006370| 63 6b 20 66 6f 72 20 62 | 79 74 65 20 6f 72 64 65 |ck for b|yte orde|
|00006380| 72 20 66 69 72 73 74 0a | 30 32 2f 32 35 2f 39 31 |r first.|02/25/91|
|00006390| 20 20 20 35 20 6e 61 7a | 67 75 6c 09 41 64 64 65 | 5 naz|gul.Adde|
|000063a0| 64 20 66 6c 61 67 20 66 | 6f 72 20 4d 53 20 62 79 |d flag f|or MS by|
|000063b0| 74 65 6f 72 64 65 72 0a | 30 31 2f 31 34 2f 39 31 |teorder.|01/14/91|
|000063c0| 20 20 20 34 20 6e 61 7a | 67 75 6c 09 4f 66 66 20 | 4 naz|gul.Off |
|000063d0| 62 79 20 6f 6e 65 20 6f | 6e 20 6e 75 6d 62 65 72 |by one o|n number|
|000063e0| 20 73 70 65 63 69 66 69 | 65 64 20 65 6e 74 72 69 | specifi|ed entri|
|000063f0| 65 73 0a 2a 2f 0a 0a 23 | 69 66 64 65 66 20 48 41 |es.*/..#|ifdef HA|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.